15

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

talonmies
  • 70,661
  • 34
  • 192
  • 269
Marco A.
  • 43,032
  • 26
  • 132
  • 246

3 Answers3

13

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

talonmies
  • 70,661
  • 34
  • 192
  • 269
12

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" (!).

einpoklum
  • 118,144
  • 57
  • 340
  • 684
1

CTA is just another way of saying Threadblock Nvidia calls it CTA.

DataCrusade1999
  • 492
  • 4
  • 4