You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.
I'm having an issue getting my installation of OpenCL to be detected by other programs. I've installed rocm-opencl, rocm-opencl-devel, rocm-opencl-runtime and rocm-opencl-sdk, all v5.3.0. As I explained here, I'm able to get output from running ./clinfo from the /opt/rocm-5.3.0/opencl/bin directory, but running other programs like clpeak and cpu-x say that no OpenCL platform is found. Is there a symbolic link or aliasing of a command I need to make in order for things to work? My kernel is 5.19.10-1, and other details of my setup are in the link.
The text was updated successfully, but these errors were encountered:
Made some progress today. Thanks to @ROCmSupport's comment, I was able to get output from running clinfo without needing to navigate to the above /opt/rocm/ directory after adding LD_LIBRARY_PATH=/opt/rocm-5.3.0/opencl/lib to /etc/environment. I also added export LD_LIBRARY_PATH=/opt/rocm-5.3.0/opencl/lib to ~/.zshrc.
This allowed me to finally run the Phoronix OpenCL benchmark on the GPU. Results here. You can see that a number of tests failed to run, I'll have to explore why later.
One question I have is whether /opt/rocm-5.3.0/bin would also work, given the presence of clinfo there.
I'm hoping ROCm 5.4 upgrades to OpenCL 2.1 (5.3), which is what the device supports [ref].
Closing since the original reason for opening the issue has been solved.
Hello,
I'm having an issue getting my installation of OpenCL to be detected by other programs. I've installed rocm-opencl, rocm-opencl-devel, rocm-opencl-runtime and rocm-opencl-sdk, all v5.3.0. As I explained here, I'm able to get output from running
./clinfo
from the/opt/rocm-5.3.0/opencl/bin
directory, but running other programs like clpeak and cpu-x say that no OpenCL platform is found. Is there a symbolic link or aliasing of a command I need to make in order for things to work? My kernel is 5.19.10-1, and other details of my setup are in the link.The text was updated successfully, but these errors were encountered: