Questions tagged [amd-gpu]

85 questions
0
votes
0 answers

"Memory leak" when mapping opencl buffers

Given the following program using OpenCL 1.2 #include #include int main() { std::this_thread::sleep_for(std::chrono::seconds{4}); cl_platform_id plats[10]; cl_uint count = 0; if (clGetPlatformIDs(10, plats,…
Mestkon
  • 3,532
  • 7
  • 18
0
votes
1 answer

Hashcat reports CL_OUT_OF_HOST_MEMORY

I've set up a new Linux box (Xubuntu based off 18.04) with 64G of RAM and two AMD R9-280 GPUs. I'm trying to run hashcat (latest from hashcat.net) on it but am running into an out of memory error on the GPU. hashcat -m 1800 -a 3 shadow hashcat…
jmq
  • 1,559
  • 9
  • 21
0
votes
1 answer

LLVM AMDGPU alloca address spaces

I've been trying to get .NET CIL to run on multiple platforms (I'm particularly interested in GPUs) by means of LLVM. I've used Mono.Compiler for translating CIL to LLVM. I'm having trouble getting AMDGCN to work. For a simple add function, I'm…
mostanes
  • 149
  • 6
0
votes
1 answer

Get bool if a Nvidia or a AMD GPU card is installed

I need to somehow to get a list of the GPUs installed and available to use and for each GPU detected i need to get the brand name of it using Java. Only on Windows
0
votes
1 answer

OpenCL2.0 runtime compiler not supporting c++11

I am trying to build an OpenCL kernel using OpenCL2.0. I am calling the cl::Program build function and passing the flag -cl-std=CL2.0. The g++ compiler finishes and links with no errors. However, when I run the program, the build function throws an…
0
votes
1 answer

How to use cl2.hpp with AMD GPU and rocm

I've been developing with OpenCL on my Laptop for a while now, but want to move to my more powerful desktop pc with an AMD GPU. I followed the breadcrumbs through APP SDK (which is apparently gone) through amdgpu-pro drivers (which completely crash…
Aram Becker
  • 2,026
  • 1
  • 20
  • 32
0
votes
0 answers

Finding the compute unit id when launching a kernel on an AMD GPU

I am using ROCm software stack to compile and run OpenCL programs on a Polaris20 GCN4th AMD GPU and wondering if there is a way to find out which compute unit (id) on GPU is in use now by the current work-item or wavefront? In other words, can I…
mjd
  • 1
  • 1
0
votes
1 answer

Multiple AMD GPUs with Tensorflow and OpenCL on Ubuntu 16.04

After a lot of struggles: Built successfully Tensorflow with OpenCL on fresh Ubuntu 16.04 with amdgpu 17.50. Have 5 identical GPUs (rx580) installed and all of them are reported by clinfo and computecpp_info as expected. Running the MNIST convnet…
Gianks
  • 63
  • 1
  • 15
0
votes
1 answer

How to resolve CL_INVALID_BUILD_OPTIONS problems on Debian?

I have seemingly successfully built this project https://github.com/sowson/darknet, but when I try running it I get this output. Device ID: 0 Device name: AMD CAICOS (DRM 2.49.0 / 4.9.0-8-amd64, LLVM 3.9.1) Device vendor: AMD Device opencl…
user1610810
  • 99
  • 1
  • 5
0
votes
1 answer

Is uint2 operations faster than ulong in OpenCL on AMD GCN cards?

Which of the "+" calculation is faster? 1) uint2 a, b, c; c = a + b; 2) ulong a, b, c; c = a + b;
0
votes
1 answer

RX580 not detected in ubuntu after installing amdgpu-pro

I installed amdgpu-pro following the official tutorial here. I was able to check that amdgpu-pro was installed correctly by dpkg -l amdgpu-pro with ii. However, when I use radeontop to check my GPU status it couldn't be detected. I figured it might…
Chester Cheng
  • 158
  • 1
  • 10
0
votes
2 answers

Is OpenGL 4.3 API and glsl language safe?

I'm developing a Java graphical application with jogl and OpenGL at the Linux. My application contains over 30 shaders and they work fine in most cases. But about once a week there is a driver (amdgpu pro) error (SIGSEGV). Please tell me, is OpenGL…
0
votes
0 answers

Why does OpenCL crash only for Nvidia card?

I've written a set of OpenCL kernels. When testing on an AMD R9 Nano with 4 GB memory, the kernels execute correctly. When testing on a Nvidia GTX 1080 with 8 GB of memory, the kernels fail to execute unless I reduce the buffer memory by roughly 8…
0
votes
0 answers

OpenCL clCreateCommandQueue CL_OUT_OF_HOST_MEMORY error

I'm trying to use an OpenCL sample HelloWorld to see if everything is working properly. I have no problem of compilation, however, I have a CL_OUT_OF_HOST_MEMORY at the clCreateCommandQueue(). Here what I…
Thomas BRAUD
  • 111
  • 1
  • 2
  • 5
0
votes
1 answer

How to enable crossfire on AMD Radeon Pro DUO

I am using AMD Radeon Pro duo for my application in opencl. It has a Dual Fiji GPUs, How can i configure Cross Fire to make them work as one device. I am using clgetdeviceinfo in opencl for checking the device compute units but it's showing 64 for…
Vishal
  • 11
  • 3