Questions tagged [amd-gpu]
85 questions
0
votes
1 answer
Kernel hangs when using OpenCL pipes
I am trying to write an OpenCL kernel that uses OpenCL pipes. The kernel code is given below.
uint tid = get_global_id(0);
uint numWorkItems = get_global_size(0);
int i;
int rid;
int temp = 0, temp1 = 0;
int val;
int …

Johns Paul
- 633
- 6
- 22
0
votes
1 answer
Unable to build in AMD-GPU kernel module: This feature depends on another which has been configured as a module
I am trying to build-in the AMD-GPU kernel module to my custom kernel. However, I am only able to build it as a module. When I press y in order to build it a text box appears that reads:
This feature depends on another which has been configured…

Justin Mitzel
- 1
- 1
0
votes
0 answers
OpenCL Kernel with image transfer running slow
I have a pretty simple OpenCL kernel, basically doing nothing more than defining its input:
__kernel void test(__read_only image3d_t d_multitest){}
My host side code is basic pyopencl to transfer an image to my device and run the kernel:
import…

Dschoni
- 3,714
- 6
- 45
- 80
0
votes
1 answer
Is out of order command queue useful on AMD GPU?
It seems to me that one opencl command queue won't dispatch commands to more than one hardware queue. So commands in an out of order command queue are still executed one by one, just not in the order they were enqueued?
So if I want to make use of…

BlueWanderer
- 2,671
- 2
- 21
- 36
0
votes
1 answer
OpenCL detection bug
I'm new to Adobe Premiere and GPU acceleration. I started to follow simple tutorial on editing video with Premiere Pro CC that I had "Stopped Working" error after seconds when I hovered on my video or dragged it. Found that problem is because of…

Tayyebi
- 131
- 2
- 15
0
votes
1 answer
OpenCl: Minimal configuration to work with AMD GPU
Suppose we have AMD GPU (for example Radeon HD 7970) and minimal linux system without X and etc.
What should be installed and what should be launched and how it should be launched to have proper OpenCL environment? In best case it should be headless…

petRUShka
- 9,812
- 12
- 61
- 95
-1
votes
2 answers
GLSL Error: '##' : not supported for these tokens
I have an AMD Radeon Graphics (Ryzen 7000) GPU and I am creating a program using OpenGL. I wrote the shaders in GLSL version 330 with the extension GL_ARB_shading_language_420pack enabled. However, when using the ## operator inside a macro function,…

AboodXD
- 148
- 9
-1
votes
1 answer
How to Convert OpenCL code from FP32 to FP16?
Is there a way to automatically convert a code that has been written to do FP32 calculations on a FP32 GPU, so it can do always FP16 calculations instead of FP32?
What I'm trying to achieve is to run a code for an old GPU(that doesn't support HALF…

JosEvora
- 134
- 1
- 9
-1
votes
1 answer
How can I check AMD GPU power usage in Windows cmd?
For NVIDIA GPU, I use
nvidia-smi -i 0 --format=csv,noheader --query-gpu=power.draw
and this command prints (for example) 150.00 W to stdout.
But how can I get AMD GPU power usage from Windows command prompt?

queuedq
- 43
- 5
-5
votes
1 answer
Explain a function
I'm currently analizing AMD ADL sdk and found very intresting function
int FindTController(const int iAdapter)
{
for (int i = 0; ; i++)
{
ADLThermalControllerInfo tcinfo;
tcinfo.iSize = sizeof(tcinfo);
if (ADL_OK ==…

JonZ
- 139
- 2
- 17