Reputation: 21
I have found several solutions on how to download opencl. But ultimately I have to run the command "/opt/rocm/opencl/bin/x86_64/clinfo" and end up with the error code "bash: /opt/rocm/opencl/bin/x86_64/clinfo: No such file or directory". So my question is how do I correctly install opencl and so that it is callable in this manner?
Upvotes: 1
Views: 6775
Reputation: 5754
The OpenCL runtime is installed alongside your graphics driver. There is no need to install anything else to run OpenCL programs. For OpenCL development, you need to download and include the OpenCL C++ header files. The program clinfo
is just a tool to identify your hardware, but you don't need it. To install it, use sudo apt-get install clinfo
.
Upvotes: 1