I am porting existing Reed-Solomon decoding code to OpenCL There are some local arrays in my kernel, like uint myarray[256]; in local functions. And I have quite a number of memset functions over them and I've failed to use them. I can just write filling them in a loop, but that might be inefficient. Also, some suggestions about writing such a loop are welcome too, cause seems OpenCL just don't have memset.
But OpenCL complains about missing memset the way it seems not being missing it entirely
warning: implicitly declaring C library function 'memset' with type 'void *(void *, int, unsigned long)'
and suggests to include <string.h> but fails to find it
fatal error: <string.h> file not found.
#include <string.h>in your code? - Gilles