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,