On 11/14/2014 01:36 PM, Jakub Jelinek wrote:
Any way to query those limits? Size of .shared memory, number of threads in warp, number of warps, etc.?
I'd have to google most of that. There seems to be a WARP_SZ constant available in ptx to get the size of the warp.
In OpenACC, are all workers in a single gang the same warp?
No, warps are a relatively small size (32 threads).
So, for a warp, if some threads perform one branch of an if and other threads another one, all threads perform the first one first (with some maybe not doing anything), then all the threads the others (again, other threads not doing anything)?
I believe that's what happens. Bernd