Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PTX - what is a CTA?

Tags:

cuda

gpu

nvidia

ptx

I'm studying PTX and I don't understand how a CTA (compute thread array) is different from a CUDA block.

Are they the same thing? It seems to me that for now (I'm just at the beginning of the PTX document) they're just the same

like image 577
Marco A. Avatar asked Jul 15 '13 08:07

Marco A.


2 Answers

Yes, the PTX cooperative thread array is conceptually and functionally the same as a block in CUDA or a workgroup in OpenCL.

like image 121
talonmies Avatar answered Oct 13 '22 13:10

talonmies


The Thread Hierarchy section of the CUDA PTX ISA document explains that, essentially, CTA means a CUDA block.

Also note that it's actually not a "Compute Thread Array", but rather a "Cooperative Thread Array" (!).

like image 43
einpoklum Avatar answered Oct 13 '22 11:10

einpoklum