Notes on using OpenCL on Linux on the RX6800

I want to mine GPGPU calculation and machine learning with OpenCL with RDNA2.

OS: Ubuntu 20.04 GPU: RX6800 (RDNA2) Driver: amdgpu(-pro) 20.45

https://math.dartmouth.edu/~sarunas/amdgpu.html

Refer to, and put the OpenCL driver (this is the pro version and looks like closed source) on the OSS version amdgpu kernel. The arguments are a little different. (Also, in 20.45, amdgpu-pro-install cannot select --no-dkms)

# unpack amdgpu package
$ cd <amdgpu-package>
$ ./amdgpu-install --opencl=legacy,rocr --headless --no-dkms

(Legacy may not be necessary)

Pro (closed source version) seems to be basically for games and old GPUs. I think that Pro version will also work.

For Ubuntu 20.04, add the user to the render group.

If you clinfo and recognize it well, it's OK!

Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.0 AMD-APP (3188.4)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback 
  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     gfx1030
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 2.0 
  Driver Version                                  3188.4 (HSA1.1,LC)
  Device OpenCL C Version                         OpenCL C 2.0 
  Device Type                                     GPU
  Device Board Name (AMD)                         AMD Radeon RX 6800

Vulkan ray tracing extension?

amdgpu-pro 20.45 Vulkan notes https://qiita.com/syoyo/items/c66c0a46cd6ad584dacb

Not yet supported by amdgpu (-pro).

AMD VLK (with RADV?)

https://github.com/GPUOpen-Drivers/AMDVLK

I tried to put the binary of v-2021.Q1.1, but this was also not related toVK_KHR_ray _ ***.

Vulkan ray tracing on AMD GPUs on Linux has to wait for a while.: Cry:

Recommended Posts

Notes on using OpenCL on Linux on the RX6800
Notes on using matplotlib on the server
Notes on using Alembic
[Django] Notes on using django-debug-toolbar
Install the JDK on Linux
Notes on optimization using Pytorch
Paste the link on linux
Notes on building TinyEMU and booting the Linux kernel on Emscripten
Notes on using MeCab from Python
Notes on using post-receive and post-merge
Notes on installing Python using PyEnv
Notes on using rstrip with python.
Notes on installing Ubuntu 18.04 on the XPS 15 7590
(Beginner) Notes on using pyenv on Mac
Notes for using OpenCV on Windows10 Python 3.8.3.
Notes on implementing APNs tests using Pytest
Notes on using code formatter in Python
Compiling the Linux kernel (Linux 5.x on Ubuntu 20.04)
Notes on installing Python3 and using pip on Windows7
Linux study notes
Python: Try using the UI on Pythonista 3 on iPad
Frequently used (personally) notes on the tar command
Notes on Flask
[2020July] Check the UDID of the iPad on Linux
Syntax highlighting on the command line using Pygments
Sound the buzzer using python on Raspberry Pi 3!
Notes for using TensorFlow on Bash on Ubuntu on Windows
Operate Route53 on the command line using AWS-CLI.
Create a GUI on the terminal using curses
Set the startup script on Linux (RasPi, Edison)
[Python] Notes on accelerating genetic algorithms using multiprocessing
The story when I was using IntelliJ on Linux and could not input Japanese
What to do if you get the error ʻERR_FEATURE_UNAVAILABLE_ON_PLATFORM` when using ts-node-dev on Linux
Notes on transactions in the Java client library in the datastore
Create a QR code for the URL on Linux
[AWS CLI] Enable the AWS CLI on Red Hat Enterprise Linux 8
Try using the temperature sensor (LM75B) on the Raspberry Pi.
Drawing on Jupyter using the plot function of pandas
[Linux] I tried using the genetic statistics software PLINK
SoC FPGA: A small story when using on Linux
Enable zfs on the Springdale Linux 8.3 installation ISO image
Post to your account using the API on Twitter
Check if the LAN cable is disconnected on Linux
About the --enable-shared option when building Python on Linux
Miscellaneous notes about deploying the django app on Heroku
I tried installing the Linux kernel on virtualbox + vagrant
Announcing the availability of Java 11 LTS on Amazon Linux 2
Minimum notes when using Python on Mac (Homebrew edition)
Control the Linux trackpad
Daemonizing processes on Linux
jblas on Arch Linux
Notes on neural networks
Linux (WSL) on Windows
NAT router on Linux
Celery notes on Django
Notes on installing PycURL
Develop .NET on Linux
Wake on lan on Linux
How to know the number of GPUs from python ~ Notes on using multiprocessing with pytorch ~
Monitor traffic on Linux
Update vscode on linux