Tasp

__local prefix for local arrays changes results - Bug?!

Discussion created by Tasp on Sep 22, 2010
Latest reply on Sep 22, 2010 by 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???

Outcomes