Translations:CUDA tutorial/18/fr

From Alliance Doc
Jump to navigation Jump to search

c[blockIdx.x] = a[blockIdx.x] + b[blockIdx.x]; </syntaxhighlight> où blockIdx.x est le numéro unique identifiant un bloc CUDA. De cette manière, chaque bloc CUDA ajoute une valeur de a[ ] à b[ ].

Parallélisation basée sur les blocs.