1 of 1 people found this helpful
Static c++ is still supported [ " -x clc++" can only be used for OpenCL 1.x].
Are clinfo and other OpenCL programs running fine? Please share the driver version if any driver is there.
If I remember correctly, once I faced a similar error when libamdocl12cl64.so was not linked correctly. Please make sure libamdocl12cl64.so is there with libamdocl64.so.
What is AMD's way to go for C++ kernels in the future? OpenCL 2.2 with C++? ROCm · GitHub & HCC?
As of now, AMD has not announced plans for OpenCL 2.1 support (hence OpenCL C++ kernels). However, ROCm HIP and HCC may be used for programming in C++ static kernel language if you are interested.
thx for the help,
the problem was exactly as suspected by you: libamdocl64.so was found, but libamdocl12cl64.so was not.
i now added also the directory containing libamdocl12cl64.so (which is needed for static C++ kernel language) to the library path, then the tests work fine again.
with AMD-APP-SDK-188.8.131.52-GA-linux64 both SOs were in the same directory,
but with AMD-APP-SDK-184.108.40.206-GA-linux64 they are in separate folders now.
We've already received couple of other broken link issues related to this structural difference. The problem has been reported to the concerned team.