Originally posted by: MicahVillmow What is actually occurring is it is going into a very long loop and if you wait long enough, the loop counter will wrap around to zero after 2^32-1 iterations and break from the loop.
The IL spec is inaccurate then if that's the case. It says "A while loop block can iterate indefinitely, exiting only when a break instruction is executed." Though, I guess it's also misleading in that it doesn't account for the eventual heat death of the universe
Originally posted by: MicahVillmow rick/Rahul, It is impossible for the GPU to go in an infinite loop because the loop counter is only 32 bits.
That is assuming the code is bug-free Case in point: today I accidentally forgot to decrement a loop counter, and I had no choice but to reboot the machine...