Questions tagged [amd-gpu]
85 questions
2
votes
1 answer
OpenCV 3.0 with OpenCL 2.0, each respond with different versions for OpenCL
I recently upgraded to a GPU card with OpenCL 2.0 (R9 390), from one with only OpenCL 1.2 on it. To start using it with OpenCV I created some basic calls to determine what hardware each library thought I had.
cout << "Equipment according to…

Biaspoint
- 505
- 3
- 19
2
votes
1 answer
Setting up OpenCL in Ubuntu
I trying to get my OpenCL project compile in Ubuntu. I have a Core i5 and AMD HD 5660 which are both compatible.
when I execute the following code
cl_int status;
// Retrieve the number of platforms
cl_uint numPlatforms = 0;
status =…

user3622675
- 29
- 1
- 3
2
votes
1 answer
Implementing matrix-vector multiplication in AMD openCL/C produces system freezes when I try to increase matrix size
For a project at university, i'm implementing matrix-vector multiplication using AMD OpenCL.
The machine i'm using is a brand new desktop running Ubuntu 12.04, with a Radeon HD 7970 and an AMD FX-4100 quad-core processor. I AMD APP 1.2 and the…

andymr
- 113
- 1
- 7
1
vote
0 answers
Resolving "No Op-Kernel was registered to support Op" on AMD GPU
model = Sequential([
LSTM(units=50,return_sequences=True,input_shape=(lookback,1)),
…

Lakshit Karsoliya
- 23
- 3
1
vote
1 answer
How to Run Pytorch Bert with AMD
github code: https://github.com/bellowman/Deep-Learning-Practice/blob/main/BioBert%20for%20Multi%20Label%20AMD.ipynb
Hello everyone,
I am a beginner with pytorch, tensorflow, and BERT. I have a machine at home with an AMD Ryzen 7 1800x and a Radeon…

Dung Tran
- 357
- 1
- 2
- 13
1
vote
0 answers
how to use amd gpu on tensorflow in wsl windows 10
how do i enable my amd gpu on ubuntu wsl as when i follow this tutorial: https://learn.microsoft.com/en-us/windows/ai/directml/gpu-tensorflow-wsl and do
import tensorflow.compat.v1 as tf…

Crisóstomo Musa
- 31
- 3
1
vote
1 answer
cannot run gazebo9 on docker with privileged on ubuntu 18.04
I am stuck on this for quite a while now i have tried searching and trying stuff but i am getting nowhere.
My setup is as follows:
Host
linux Distro: Archlinux
kernel version: 5.14.2
docker version: 20.10.8, build 3967b7d28e
nvidia driver version:…

Aether Watts
- 11
- 2
1
vote
1 answer
Do 64bit atomic operations work in openCL on AMD cards?
The implementation of emulated atomics in openCL following the STREAM blog works nicely for atomic add in 32bit, on CPU as well as NVIDIA and AMD GPUs.
The 64bit equivalent based on the cl_khr_int64_base_atomics extension seems to run properly on…

AdrianO
- 175
- 1
- 11
1
vote
1 answer
ROCm Installation with Fedora 32
I have tried to install ROCm ( https://rocmdocs.amd.com/en/latest/ ) on Fedora 32 using the process that was described here https://rigtorp.se/notes/rocm/
The rocminfo function correctly identifies my Radeon RX 5700. Codes from hip-samples compile…

Des Albert
- 281
- 2
- 5
- 17
1
vote
1 answer
Have I found an AMD GPU integer division bug?
I've narrowed my case down to this simple GLSL code:
uniform int zeroUniform; // Always set to zero, it is there so that the code is not optimized out
out int c;
int a = 8660165;
int b = 6;
c = (a + zeroUniform) / b;
When I put this in a shader…

Danol
- 368
- 1
- 15
1
vote
1 answer
OpenCL and Radeon R4 Integrated Graphics
I have a Dell Inspiron laptop with an AMD A6-6310 (Radeon R4 integrated graphics) SoC. I am running Debian Sid (updated to the latest). From wikipedia I see that the R4 Graphics has 128 shader cores across 2 compute units and the main processor…

Marcus
- 1,685
- 1
- 18
- 33
1
vote
0 answers
OpenCL barrier of a range of subgroups
In OpenGL 2.1 a work group is subdivided into subgroups. work_group_barrier() synchronizes all the work items in a work group, sub_group_barrier() only the work items in one subgroup.
Is it possible to synchronize the work items in a range of…

tmlen
- 8,533
- 5
- 31
- 84
1
vote
2 answers
Array of samplerCube
I ran into a problem when testing a program on an AMD GPU. When tested on Nvidia and Intel HD Graphics, everything works fine. On AMD, the problem occurs precisely when trying to bind the texture. Because of this problem, the shader has no shadow…

congard
- 945
- 2
- 10
- 28
1
vote
0 answers
In glsl 150 core, can a non-constant value be converted into a constant?
In this snippet of code, on amd graphics cards I get the error that a non constant can't be applied to const highp float. It is important that it is a constant so the exp2 operation isn't run multiple times in the program.
#define BLOOM
vec3…

Anibroto Das
- 11
- 1
1
vote
0 answers
Android emulator on AMD
I got AMD a8 processor which is fine . when I try to test my app in android emulator , it showed a error that I should not select ×86 images for booting up. Then I selected arm images. But it is still taking ages to boot and even after starting…
user8219568