This project is read-only.

Local is not a valid argument name (on my machine)

Feb 8, 2015 at 9:50 PM
Hi, the demo project contains the kernel below. The fact that there is an argument called "local" causes issues, because local is equal to __local and as such it's reserved.


/m
__kernel void doSomething(__global float* a, __global float* b, __local uchar3* local, float scale)
{
    int id = get_global_id(0);
    b[id] = a[id] * scale;
}