The ROCm Platform brings a rich foundation to advanced computing by integrating the CPU and GPU with the goal of solving real-world problems. This software enables the high-performance operation of AMD GPUs for computationally-oriented tasks in the Linux operating system.
Questions tagged [amd-rocm]
42 questions
5
votes
2 answers
Failed to install ROCm on Ubuntu 20.04
I would like to set up AMD Radeon for Deep Learning on Ubuntu. The main libraries for my work are keras and pytorch. I followed strictly on ROCm installation guideline here but failed at the 3rd step with the command sudo apt install rocm-dkms. …

Ratchainant Thammasudjarit
- 2,925
- 3
- 18
- 26
5
votes
1 answer
What is HIP and why can’t you run it on the ryzen 3400g?
I am interested in running deep learning code on my Ryzen 3400g system. Online I saw:
I trying to use Vega 11 on my Ryzen 3400G, I'm aware that I cannot run
HIP, but I possibly could run opencl on this APU, my first step is to
import tensorflow,…

Simd
- 19,447
- 42
- 136
- 271
4
votes
1 answer
AMD ROCm with Pytorch on Navi10 (RX 5700 / RX 5700 XT)
I am one of those miserable creatures who own a AMD GPU(RX 5700, Navi10). I want to use up-to-date PyTorch libraries to do some Deep Learning on my local machine and stop using cloud instances.
I saw all over the internet that AMD is promising…

makesense
- 55
- 1
- 6
4
votes
2 answers
How to make AMD GPU available by WSL for use with DALL-E Playground AI Sever
I'm trying to run and deploy the Dalle Playground on my local machine using an AMD GPU, I'm on Windows 11 with a WSL instance running.
Link to Dalle Playground repo
System OS: Windows 11 Pro - Version 21H1 - OS Build 22000.675
WSL Version: WSL 2…

Joel Gray
- 139
- 1
- 1
- 8
3
votes
2 answers
Pytorch "hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"
SYSTEM: Ryzen 5800x, rx 6700xt, 32 gigs of RAM, Ubuntu 22.04.1
I'm attempting to install Stable-Diffusion by following https://youtu.be/d_CgaHyA_n4
When attempting to run the SD script, I get the "hipErrorNoBinaryForGpu: Unable to find code object…

lead oxide
- 31
- 1
- 2
3
votes
1 answer
OpenCL visual kernel debugging
Background
I am somewhat familiar with NVidia CUDA development. In CUDA world it's quite easy to debug the code inside kernels: both NSight Visual Studio and Nsight Visual Studio Code allow to do that.
Objective
I would like to be able to run a…

theTruthIsOutThere
- 107
- 8
3
votes
0 answers
How to tune the performance of ROCm(llvm) compiler?
I modified llvm (roc-1.6.x) a bit to generate a code that can run on AMDGPU pro dirver. It can run but the performance is over 10% slower than AMDGPU's online compiler, for the same opencl code. I wonder if there is some flags I can set to tune up…

user1200759
- 91
- 7
2
votes
0 answers
where to find rocprofiler derived counters description with examples
My opencl kernel taking too long to finish, rocprof gave me below counters:
| Index | KernelName | gpu-id | queue-id | queue-index | pid | tid | grd | wgr | lds | scr | arch_vgpr | accum_vgpr | sgpr | wave_size | sig | …

Necktwi
- 2,483
- 7
- 39
- 62
2
votes
1 answer
what is the meaning that AMD RDNA support wave32?
From AMD RDNA white paper, it is said
The RDNA architecture is natively designed for a new narrower wavefront with 32 work-items,
intuitively called wave32, that is optimized for efficient compute. Wave32 offers several
critical advantages for…

alephchang
- 41
- 4
2
votes
2 answers
Using tensoreflow with rocm
I am setting up a tensorflow based machine learning workspace on my AMD (RavenRidge APU) laptop using ROCM (Ubuntu HP envy x360 Ryzen 5 2500u)
I have installed rocm and tried using a basic tensorflow script but I get HIP errors. DOes this mean that…

Wilf Chun
- 25
- 5
2
votes
0 answers
Use CUDA without CUDA enabled GPU - ROCm or OpenCL
I'm doing academic robotics research, so we need to integrate several libraries in the field of vision, sensing, actuators.
There's a huge problem when trying to use libraries that solve problems and also how to integrate them together, since some…

Rafael Sisto
- 404
- 5
- 19
2
votes
0 answers
ROCm and CUDA GPUs on one model?
I want to compile a model on multiple GPU's. Is it possible to use AMD GPUs with ROCm together with Nvidia CUDA GPUs on the same model?
I guess it's not possible since you need to install a special version of tensorflow in order to enable ROCm…

user9468014
- 479
- 2
- 6
- 20
1
vote
0 answers
Yocto Clang++: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
I'm building a custom Yocto image that has added HIPIFY as a package to be build on target. It has a dependency on LLVM+Clang that is leading to the following error after I add clang from the meta-clang layer to it's…

Zube Molokwu
- 31
- 2
1
vote
0 answers
CUDA's device properties in HIP
My task is to port caches' latency measurement program written in CUDA to HIP, and for that i need to get characteristics of GPU.
I'm using HIP 4.5.0, and the problem is that for some data from CUDA's deviceInfo, there're no (direct) analogues from…

Max Azatian
- 53
- 7
1
vote
0 answers
MIOpen(HIP): Warning [SQLiteBase] Missing system database file: gfx906_60.kdb Performance may degrade
I am trying to use ROCm inside of docker, I have followed the instructions to install MIOpen on the host system but am still getting this error.

Carlos Rincon
- 13
- 1
- 6