Hello.
I want to know if there is any variable which works the same than CUDACC in cuda.
Aka this, but in OCL
#ifdef CUDACC
device void initialize_cuda_kernel(float *zz, int sal)
{
zz[0] = sal;
}
#endif
I want to have a file which makes nothing (so gcc doesnt complain) when including it on a normal c file, but works fine when compiling via clBuildProgram calls.
Thanks,