Hi,
What is the best recommended solution to use Radeon Pro GPU for deep learning on Tumbleweed, while AMD pro driver is not supporting Tumbleweed?
Is that using rolling release like Tumbleweed as ML/Deep learning desktop makes any sense?
Regards
Hi,
What is the best recommended solution to use Radeon Pro GPU for deep learning on Tumbleweed, while AMD pro driver is not supporting Tumbleweed?
Is that using rolling release like Tumbleweed as ML/Deep learning desktop makes any sense?
Regards
Hi
Probably some more details on the card and applications would help…
Is the card in the system? If so what is the output from;
/sbin/lspci -nnk | egrep -A3 "VGA|Display|3D"
There are some issues with the current newer cards that don’t have support in the Leap 15.1 kernel, need to wait for (or test) Leap 15.2 which will have a 5.x.x kernel.
Installing the amdgpu-pro driver is a bit of a downgrade IMHO, but there is a lot of effort on the AMD side with the oss amdgpu driver and if something isn’t working bug reports are always a good idea.
Thank you very much for note.
here is the output of the Display:
VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon Pro WX 7100] [1002:67c4]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:0b0d]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
Hi
A GCN 4.0 (Polaris) card, so should work fine with openCL and Vulkan and the oss driver? What tests have you done to see the performance?
Thank you.
I haven’t done any test yet. just fresh installed Tumbleweed and tried “glmark2” to see the difference between pro driver I had on centos and new Tumbelweed with amdgpu.
If you have suggestion to test it properly I highly appreciate it and will share the result here.
Many thanks
Hi
Vulkan and run vkmark, what about clinfo? I also have radeon-profile and radeon-profile-daemon in my testing repo. Try a distributed project using boinc, try a chess engine (lc0 is in my testing repo to).
Thank you.
Vkmark score : 12407
clinfo : Number of platfrom 0
I have just followed this blog to install ROCm on Tumbleweed.
Despite that Tumbleweed is not supported OS for ROCm, but installed these mentioned packages and have some changes now:
https://www.clarenceho.net/2019/05/rocm-opencl-with-opensuse-tumbleweed.html
clinfo :
Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.1 AMD-APP (3052.0)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Host timer resolution 1ns
Platform Extensions function suffix AMD
Platform Name AMD Accelerated Parallel Processing
Number of devices 0
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform
clCreateContext(NULL, ...) [default] No platform
clCreateContext(NULL, ...) [other] No platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No devices found in platform
Malcolm’s lc0 packages are one way to test.
Probably the most common “first project” app I hear people run that can benefit directly from GPU computing is OpenCV which is visual pattern recognition and identification
Has been around for ages and is the basis for numerous video monitoring apps.
TSU
Hi
Looks like it’s partially working, still not recognized then if Number of devices is 0… Perhaps your device is not supported… AFAIK it’s for NGG (2019~2020) cards.
I think this time might be ok!
Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.1 AMD-APP (3052.0)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Host timer resolution 1ns
Platform Extensions function suffix AMD
Platform Name AMD Accelerated Parallel Processing
Number of devices 1
Device Name gfx803
Device Vendor Advanced Micro Devices, Inc.
Device Vendor ID 0x1002
Device Version OpenCL 1.2
Driver Version 3052.0 (HSA1.1,LC)
Device OpenCL C Version OpenCL C 2.0
Device Type GPU
Device Board Name (AMD) Ellesmere [Radeon Pro WX 7100]
Device Topology (AMD) PCI-E, 0a:00.0
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Linker Available Yes
Max compute units 36
SIMD per compute unit (AMD) 4
SIMD width (AMD) 16
SIMD instruction width (AMD) 1
Max clock frequency 1243MHz
Graphics IP (AMD) 8.3
Device Partition (core)
Max number of sub-devices 36
Supported partition types None
Supported affinity domains (n/a)
Max work item dimensions 3
Max work item sizes 1024x1024x1024
Max work group size 256
Preferred work group size (AMD) 256
Max work group size (AMD) 1024
Preferred work group size multiple 64
Wavefront width (AMD) 64
Preferred / native vector sizes
char 4 / 4
short 2 / 2
int 1 / 1
long 1 / 1
half 1 / 1 (cl_khr_fp16)
float 1 / 1
double 1 / 1 (cl_khr_fp64)
Half-precision Floating-point support (cl_khr_fp16)
Denormals No
Infinity and NANs No
Round to nearest No
Round to zero No
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Single-precision Floating-point support (core)
Denormals No
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations Yes
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Address bits 64, Little-Endian
Global memory size 8589934592 (8GiB)
Global free memory (AMD) 8388608 (8GiB)
Global memory channels (AMD) 8
Global memory banks per channel (AMD) 4
Global memory bank width (AMD) 256 bytes
Error Correction support No
Max memory allocation 7301444403 (6.8GiB)
Unified memory for Host and Device No
Minimum alignment for any data type 128 bytes
Alignment of base address 1024 bits (128 bytes)
Global Memory cache type Read/Write
Global Memory cache size 16384 (16KiB)
Global Memory cache line size 64 bytes
Image support No
Base address alignment for 2D image buffers 0 bytes
Pitch alignment for 2D image buffers 0 pixels
Local memory type Local
Local memory size 65536 (64KiB)
Local memory syze per CU (AMD) 65536 (64KiB)
Local memory banks (AMD) 32
Max number of constant args 8
Max constant buffer size 7301444403 (6.8GiB)
Preferred constant buffer size (AMD) 16384 (16KiB)
Max size of kernel argument 1024
Queue properties
Out-of-order execution No
Profiling Yes
Prefer user sync for interop Yes
Number of P2P devices (AMD) 0
P2P devices (AMD) <printDeviceInfo:147: get number of CL_DEVICE_P2P_DEVICES_AMD : error -30>
Profiling timer resolution 1ns
Profiling timer offset since Epoch (AMD) 0ns (Thu Jan 1 01:00:00 1970)
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Thread trace supported (AMD) No
Number of async queues (AMD) 8
Max real-time compute queues (AMD) 8
Max real-time compute units (AMD) 36
printf() buffer size 4194304 (4MiB)
Built-in kernels (n/a)
Device Extensions cl_khr_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_media_ops cl_amd_media_ops2 cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_depth_images cl_amd_copy_buffer_p2p cl_amd_assembly_program
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform
clCreateContext(NULL, ...) [default] No platform
clCreateContext(NULL, ...) [other] Success [AMD]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name gfx803
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name gfx803
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name gfx803
Hi
That’s better
Now I’m going to try OpenCV and see how it goes
Thanks
Hi
Try blender as well…
first try of blender benchmark!
PlatformError: X11: The DISPLAY environment variable is missing
panic: NotInitialized: The GLFW library is not initialized
Hi
Do the following commands work?
rocminfo
rocm-clinfo
Why not Leap, but TW?
For Radeon Pro WX 7100 you need AMD proprietary driver: https://www.amd.com/ru/support/professional-graphics/radeon-pro/radeon-pro-wx-x100-series/radeon-pro-wx-7100 .
How to install: https://amdgpu-install.readthedocs.io/en/latest/ .
For using ROCm you need supported CPU with “PCI Express 3.0 with PCIe atomics”: https://rocm.github.io/hardware.html (for GCN4).
That Radeo pro driver is not supporting leap 15.1
It has just leap 15. tryied to install on leap15.1 but didnot work
Hi,
Doing nothing !
i+ | rocm-opencl | OpenCL/ROCm | package
i+ | rocm-opencl-devel | OpenCL/ROCm | package
i+ | rocm-smi-lib64 | ROCm System Management Interface library | package
i+ | rocminfo | Radeon Open Compute (ROCm) Runtime rocminfo tool | package
it is installed but not running
Hi
Just no output when the commands are run? If so, then guess it’s not working…