# thread - warp - block

**URL:** <https://forums.developer.nvidia.com/t/thread-warp-block/14989>\
**Category:** CUDA Programming and Performance\
**Created:** [February 17, 2010, 6:53pm UTC](https://forums.developer.nvidia.com/t/thread-warp-block/14989 "2010-02-17T18:53:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![downforme](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@downforme](https://forums.developer.nvidia.com/u/downforme)\
**Post date:** [February 17, 2010, 6:53pm UTC](https://forums.developer.nvidia.com/t/thread-warp-block/14989/1 "2010-02-17T18:53:45Z")

</div>

hi!

given a block with dim 32, 16:

is it true that i can rely on every thread with the same y is in one warp?  
and threads with thread.idx%32 0…15 being in halfwarp 1, 16…31 in halfwarp 2?

but i canÂ´t predict the order in which warps are executed, thus i canÂ´t rely on y being 0,1,2,…,15 while my block gets executed?

thanks for any comments on this,  
downforme
