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