阅读背景:

threadidx的价值。x(。blockidx y,还是z)。在CUDA x等

来源:互联网 

I understand that I use threadidx.x etc. to reference a specific thread, but I am transferring code from a for loop in a CPU and would like to reference numbers 0...N using threadidx.x, but this doesn't seem to work. I declare tdx = threadIdx.x as an integer, but what integer is actually being stored in tdx?I understand that I use threadidx.x etc. to ref




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: