Program compilation fails when options given
MageSlayer opened this issue · 3 comments
MageSlayer commented
Hi
Calling clBuildProgram with any "-cl-std" option fails with error.
Thus CL2.0 is not currently usable.
See test case - MageSlayer/openCL-helloWorld@6cb42ad
Tested under Gentoo rocm-opencl-runtime-3.3.0, Radeon RX580.
Dantali0n commented
I just tried to run your example and it worked without issues using rocm-3.5 and rx470.
Perhaps it would help if you would provide details about error information such as the OpenCL error code that is returned upon the failed call.
MageSlayer commented
It fails with CL_INVALID_COMPILER_OPTIONS / -66 error.
MageSlayer commented
Same issue under rocm-opencl-runtime-3.5.0