why use 32 bit for warp will be easy for 32bit int as mask how can you identify a warp is 32 thread just print the thread id, you will find thoese id is 32 for one group