CUDA tutorial: Difference between revisions

No edit summary
Line 104: Line 104:
</syntaxhighlight>
</syntaxhighlight>
where blockIdx.x is the unique number identifying a cuda block. This way each cuda block adds a value from a[ ] to b[ ].
where blockIdx.x is the unique number identifying a cuda block. This way each cuda block adds a value from a[ ] to b[ ].
[[File:Cuda-blocks-parallel.png|thumbnail|CUDA blocks-based parallelism. ]]
Bureaucrats, cc_docs_admin, cc_staff
337

edits