ROCm/ROCm-OpenCL-Runtime

Program compilation fails when options given

MageSlayer opened this issue · 3 comments

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.

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.

It fails with CL_INVALID_COMPILER_OPTIONS / -66 error.

Same issue under rocm-opencl-runtime-3.5.0