cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

ymgve
Journeyman III

Unroll bug in Stream 2.5?

There seems to be a bug in Stream 2.5 related to loop unrolling:

This code works:  http://pastebin.com/6gSaKpKD

Changing

for (i = 0; i < 4095; i++)

to

for (i = 0; i < 4096; i++)

and it seems like the kernel returns immediately, doing no work.

Changing again to

for (i = 0; i < 4097; i++)

and the kernel works as intended again.    

0 Likes
1 Reply
arsenm
Adept III

This looks a lot like the problem I had here

0 Likes