Hi everybody, this is my first post on khronos forum so I would to say hello to community
My problem concerns the access to an array using the vstore and vload functions. My kernel function is declared like:
__kernel void wordCount(__global const char *a,__global char *o)
int index = get_global_id(0);
char8 c = vload8(0,a);
so the input is in *a and the output should be *o. This func should load a part of *a array to c (according to the thread id) and save it into the output variable so as to have same input and output.
Ps I know it is stupid example but i have to understand how to access to an array.