Liste des Groupes | Revenir à fcs atari |
Ca reste de la responsabilité du développeur de s'assurer de la thread-safitude de son code :-). OpenMP fournit des outils pour cela (variables privées par thread, réductions, régions critiques...) mais il n'en reste pas moins que certains algorithmes ne sont pas naturellement thread-safe et qu'il faut parfois les repenser à la base. Mais d'expérience, un algo qui n'est pas facilement parallélisable par threads ne l'est en général pas vraiment non plus par des méthodes rustiques.#pragma omp parallel forJe pensais à un truc tout bête en fait, pour faire la même chose que proposé par François, il faut du point de vu code je suppose que le code doit être "safe thread" alors qu'il n'y en a pas besoin dans son cas, mais peut-être que les compilateurs savent gérer la chose avec openmp ou faut encore faire attention ?
for (int i=0; i<n; i++) {
//un calcul quelconque
}
et la boucle est automatiquement découpée et distribuée sur autant de threads qu'il y a de coeurs (physiques) sur la machine.
Date | Sujet | # | Auteur | |
14 Jul 24 | [ANN] P2SM 1.1 | 230 | Pierre TON-THAT | |
16 Jul 24 | Re: [ANN] P2SM 1.1 | 2 | OL | |
17 Jul 24 | Re: [ANN] P2SM 1.1 | 1 | Pierre TON-THAT | |
21 Jul 24 | Re: [ANN] P2SM 1.1 | 227 | OL | |
22 Jul 24 | Re: [ANN] P2SM 1.1 | 226 | Pierre TON-THAT | |
22 Jul 24 | Re: [ANN] P2SM 1.1 | 223 | OL | |
22 Jul 24 | Re: [ANN] P2SM 1.1 | 222 | Pierre TON-THAT | |
24 Jul 24 | Re: [ANN] P2SM 1.1 | 221 | OL | |
25 Jul 24 | Re: [ANN] P2SM 1.1 | 219 | Pierre TON-THAT | |
25 Jul 24 | Re: [ANN] P2SM 1.1 | 5 | Francois LE COAT | |
25 Jul 24 | Difficultés avec Aranym (Was: [ANN] P2SM 1.1) | 3 | Pierre TON-THAT | |
26 Jul 24 | Re: Difficultés avec Aranym | 1 | Francois LE COAT | |
26 Jul 24 | Re: Difficultés avec Aranym (Was: [ANN] P2SM 1.1) | 1 | OL | |
29 Jul 24 | Re: [ANN] P2SM 1.1 | 1 | Francois LE COAT | |
25 Jul 24 | Re: [ANN] P2SM 1.1 | 1 | OL | |
25 Jul 24 | Re: [ANN] P2SM 1.1 | 2 | OL | |
25 Jul 24 | Re: [ANN] P2SM 1.1 | 1 | Pierre TON-THAT | |
2 Aug 24 | Re: [ANN] P2SM 1.1 | 210 | Pierre TON-THAT | |
4 Aug 24 | Re: [ANN] P2SM 1.1 | 209 | OL | |
4 Aug 24 | Re: [ANN] P2SM 1.1 | 208 | Francois LE COAT | |
4 Aug 24 | Re: [ANN] P2SM 1.1 | 3 | Arachide | |
4 Aug 24 | Re: [ANN] P2SM 1.1 | 2 | Francois LE COAT | |
4 Aug 24 | Re: [ANN] P2SM 1.1 | 1 | Arachide | |
5 Aug 24 | Pb Aranym | 204 | OL | |
5 Aug 24 | Re: Pb Aranym | 203 | Francois LE COAT | |
5 Aug 24 | Re: Pb Aranym | 202 | OL | |
7 Aug 24 | Re: Pb Aranym | 201 | Francois LE COAT | |
7 Aug 24 | Re: Pb Aranym | 197 | Arachide | |
8 Aug 24 | Re: Pb Aranym | 196 | Francois LE COAT | |
8 Aug 24 | Re: Pb Aranym | 195 | OL | |
9 Aug 24 | Re: Pb Aranym | 194 | Francois LE COAT | |
9 Aug 24 | Re: Pb Aranym | 193 | OL | |
9 Aug 24 | Re: Pb Aranym | 192 | Francois LE COAT | |
9 Aug 24 | Re: Pb Aranym | 189 | OL | |
10 Aug 24 | Re: Pb Aranym | 188 | Francois LE COAT | |
10 Aug 24 | Re: Pb Aranym | 186 | Arachide | |
12 Aug 24 | Re: Pb Aranym | 185 | Francois LE COAT | |
12 Aug 24 | Re: Pb Aranym | 184 | OL | |
13 Aug 24 | Re: Pb Aranym | 183 | Francois LE COAT | |
13 Aug 24 | Threads vs Process - WAS : Re: Pb Aranym | 179 | Pascal Wijsbroek | |
13 Aug 24 | Re: Threads vs Process | 178 | Francois LE COAT | |
13 Aug 24 | Re: Threads vs Process | 176 | Arachide | |
13 Aug 24 | Re: Threads vs Process | 175 | Francois LE COAT | |
13 Aug 24 | Re: Threads vs Process | 15 | OL | |
14 Aug 24 | Re: Threads vs Process | 14 | Francois LE COAT | |
15 Aug 24 | Re: Threads vs Process | 12 | OL | |
15 Aug 24 | Re: Threads vs Process | 11 | pehache | |
15 Aug 24 | Re: Threads vs Process | 10 | OL | |
15 Aug 24 | Re: Threads vs Process | 1 | pehache | |
15 Aug 24 | Re: Threads vs Process | 8 | Francois LE COAT | |
15 Aug 24 | Re: Threads vs Process | 1 | pehache | |
15 Aug 24 | Re: Threads vs Process | 6 | OL | |
16 Aug 24 | Re: Threads vs Process | 5 | Francois LE COAT | |
16 Aug 24 | Re: Threads vs Process | 3 | tTh | |
16 Aug 24 | Re: Threads vs Process | 2 | Francois LE COAT | |
16 Aug 24 | Re: Threads vs Process | 1 | Pascal Wijsbroek | |
16 Aug 24 | Re: Threads vs Process | 1 | OL | |
16 Aug 24 | Re: Threads vs Process | 1 | tTh | |
13 Aug 24 | Re: Threads vs Process | 159 | Pascal Wijsbroek | |
13 Aug 24 | Re: Threads vs Process | 158 | Francois LE COAT | |
13 Aug 24 | Re: Threads vs Process | 1 | OL | |
14 Aug 24 | Re: Threads vs Process | 156 | Pascal Wijsbroek | |
14 Aug 24 | Re: Threads vs Process | 155 | Francois LE COAT | |
14 Aug 24 | Re: Threads vs Process | 1 | Pascal Wijsbroek | |
14 Aug 24 | Re: Threads vs Process | 152 | Arachide | |
15 Aug 24 | Re: Threads vs Process | 151 | Francois LE COAT | |
15 Aug 24 | Re: Threads vs Process | 150 | Pascal Wijsbroek | |
15 Aug 24 | Re: Threads vs Process | 149 | Francois LE COAT | |
16 Aug 24 | Re: Threads vs Process | 148 | Pascal Wijsbroek | |
16 Aug 24 | Re: Threads vs Process | 2 | tTh | |
16 Aug 24 | Re: Threads vs Process | 1 | Pascal Wijsbroek | |
16 Aug 24 | Re: Threads vs Process | 145 | Francois LE COAT | |
16 Aug 24 | Re: Threads vs Process | 142 | Pascal Wijsbroek | |
16 Aug 24 | Re: Threads vs Process | 11 | Francois LE COAT | |
16 Aug 24 | Re: Threads vs Process | 9 | Pascal Wijsbroek | |
17 Aug 24 | Re: Threads vs Process | 8 | Francois LE COAT | |
17 Aug 24 | Re: Threads vs Process | 6 | Pascal Wijsbroek | |
19 Aug 24 | Re: Threads vs Process | 5 | Francois LE COAT | |
19 Aug 24 | Re: Threads vs Process | 3 | OL | |
19 Aug 24 | Re: Threads vs Process | 2 | Francois LE COAT | |
19 Aug 24 | Re: Threads vs Process | 1 | OL | |
19 Aug 24 | Re: Threads vs Process | 1 | Pascal Wijsbroek | |
18 Aug 24 | Re: Threads vs Process | 1 | pehache | |
22 Aug 24 | Re: Threads vs Process | 1 | tTh | |
22 Aug 24 | Re: Threads vs Process | 130 | tTh | |
22 Aug 24 | Re: Threads vs Process | 2 | Pascal Wijsbroek | |
29 Aug 24 | [HS] Re: Threads vs Process | 1 | Duzz' | |
22 Aug 24 | Re: Threads vs Process | 127 | Francois LE COAT | |
22 Aug 24 | Re: Threads vs Process | 1 | Pascal Wijsbroek | |
23 Aug 24 | Re: Threads vs Process | 125 | Pascal Wijsbroek | |
23 Aug 24 | Re: Threads vs Process | 124 | Francois LE COAT | |
23 Aug 24 | Re: Threads vs Process | 123 | Pascal Wijsbroek | |
23 Aug 24 | Re: Threads vs Process | 122 | Francois LE COAT | |
23 Aug 24 | Re: Threads vs Process | 20 | Arachide | |
23 Aug 24 | Re: Threads vs Process | 19 | Francois LE COAT | |
24 Aug 24 | Re: Threads vs Process | 10 | Arachide | |
24 Aug 24 | Re: Threads vs Process | 9 | Francois LE COAT | |
25 Aug 24 | Re: Threads vs Process | 7 | Pascal Wijsbroek | |
25 Aug 24 | Re: Threads vs Process | 2 | Francois LE COAT | |
25 Aug 24 | Re: Threads vs Process | 1 | tTh | |
25 Aug 24 | Re: Threads vs Process | 4 | Francois LE COAT | |
25 Aug 24 | Re: Threads vs Process | 1 | Arachide | |
24 Aug 24 | Re: Threads vs Process | 8 | OL | |
25 Aug 24 | Re: Threads vs Process | 1 | Pascal Wijsbroek | |
25 Aug 24 | Re: Threads vs Process | 100 | Arachide | |
22 Aug 24 | Re: Threads vs Process | 1 | tTh | |
22 Aug 24 | Re: Threads vs Process | 1 | tTh | |
16 Aug 24 | Re: Threads vs Process | 1 | tTh | |
13 Aug 24 | Re: Threads vs Process | 1 | pehache | |
13 Aug 24 | Re: Pb Aranym | 1 | OL | |
14 Aug 24 | Re: Pb Aranym | 1 | tTh | |
14 Aug 24 | Re: Pb Aranym | 1 | tTh | |
12 Aug 24 | Re: Pb Aranym | 1 | OL | |
10 Aug 24 | Re: Pb Aranym | 2 | tTh | |
7 Aug 24 | Re: Pb Aranym | 3 | OL | |
25 Jul 24 | Re: [ANN] P2SM 1.1 | 1 | Pierre TON-THAT | |
22 Jul 24 | Re: [ANN] P2SM 1.1 | 2 | tTh |
Les messages affichés proviennent d'usenet.