Pregunta

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

¿Fue útil?

Solución

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

Otros consejos

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

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top