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
Yes, the PTX cooperative thread array is conceptually and functionally the same as a block in CUDA or a workgroup in OpenCL.
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" (!).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With