Avoid warning about CL_TARGET_OPENCL_VERSION when compiling with CUDA 12
eyalroz opened this issue · comments
Eyal Rozenberg commented
When compiling kernel-runner.cpp
with CUDA 12, we get:
/usr/local/cuda-12.1/include/CL/cl.h:26:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)
#pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
we should probably define that ourselves somewhere.
Eyal Rozenberg commented
Duplicated by #89 ... :-( - which was just fixed :-)