1 Reply Latest reply on Nov 7, 2011 1:24 PM by arsenm

    Unroll bug in Stream 2.5?

    ymgve

      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.