2 Replies Latest reply on Sep 22, 2010 5:33 PM by Tasp

    __local prefix for local arrays changes results - Bug?!

    Tasp

      I have a kernel with two small local arrays

      float a[3];
      float b[3][4];

      I get the same results on CPU and GPU. Then I change the code to

      __local float a[3];
      __local float b[3][4];

      Suddenly I get very different results on GPU.

      Why is this???