Follow

get 1.2 on with :

- make sure your system is up to date github.com/RadeonOpenCompute/R

- add the rocm apt repository github.com/RadeonOpenCompute/R

- install rocm-opencl-dev (using upstream kernel drivers) github.com/RadeonOpenCompute/R

- do NOT try to mess with anything dkms, it won't work

- purge mesa-opencl-icd and pocl-opencl-icd, they get in the way and stop the amdgpu icd from loading correctly(*)

implementation doesn't go as high as OpenCL version 1.2, and is only, thus usually slower. There was a proprietary CPU-based OpenCL implementation that I found in some random backports repository once, but in my test it was very slow, and it got uninstalled during my tinkering

tested on RX 580 GPU with Ryzen 2700X CPU, don't know about other hardware, maybe check for support online or just try it

I used Fractorium for testing, it needs OpenCL >= 1.2.

(*) works for me, your mileage may vary

Sign in to participate in the conversation
post.lurk.org

Welcome to post.lurk.org, an instance for discussions around cultural freedom, experimental, new media art, net and computational culture, and things like that. This is part of a family of services that include mailing lists, group chat, and XMPP.