how do I tell which stream core I'm on?

Discussion created by drstrip on Apr 21, 2010
Latest reply on Jun 2, 2010 by drstrip

I would like to generate a separate stream of random numbers for each stream core on each SIMD engine. To do this, a thread needs to know which core and engine a it  is executing on. Alternatively, I would settle for being able to generate a global address per thread that is guarenteed conflict-free, but with the total number of globals being close to the total number of cores.