cancel
Showing results for 
Search instead for 
Did you mean: 

Drivers & Software

gudlaugu
Journeyman III

Getting opencl to work with Radeon R9 290 on opensuse Leap 15.3

I have been trying to get opencl to work for my Hawaii based GPU on my opensuse leap 15.3 installation for a few days with very little success.  My initial attempt was to use rocm, because I wanted to have opemp offloading available and try out sycl as well as opencl.  All attempts failed and I blamed it on the lack of official support.  My final attempt was to use the amdgpu-install script to at least get OpenCL with legacy support.  After installing and rebooting, clinfo fails with

Error: clGetPlatformIDs(-1001)

Running strace results in (among the cruft)

openat(AT_FDCWD, "/etc/OpenCL/vendors/amdocl64.icd", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)

Why is the program trying to open a non-existing icd file as a directory?  The icd file from the install is in the same directory and called amdocl-orca64.icd

0 Likes
1 Solution

This might qualify for you to post at AMD Forum's OpenCL forum.

I'll let AMD Moderator @dipak decide. But you need to first post at AMD Developer's Forum here to get whitelisted to post at AMD OpenCL forum: https://community.amd.com/t5/newcomers-start-here/bd-p/newcomer-forum if your post does qualify for OpenCL forum.

View solution in original post

0 Likes
1 Reply

This might qualify for you to post at AMD Forum's OpenCL forum.

I'll let AMD Moderator @dipak decide. But you need to first post at AMD Developer's Forum here to get whitelisted to post at AMD OpenCL forum: https://community.amd.com/t5/newcomers-start-here/bd-p/newcomer-forum if your post does qualify for OpenCL forum.

0 Likes