I wrote this simple kernel to multiply and add vectors:
kernel void vecmad_kernel(float a<>, float b<>, float c<>, out float r<>
r = a * b + c;
I allocate the memory in this way:
A = (float*)malloc(sizeof(float) * n);
a = <n>;
The compiler gives me no Errors but when I start the programm I get the following error when the kernel is called.
ERROR: No appropriate map technique found (out of 1 available)
I can't find any reason for this error.