AnsweredAssumed Answered

Running OpenCL Example on UBuntu 16.04.2 LTS + AMDGPUPRO + AMD APP SDK 3.0

Question asked by skn1975 on May 24, 2017
Latest reply on May 25, 2017 by dipak

Hello I am faced with a peculiar problem:

I have the following h/w configuration:

a.) AMD Kaveri APU + Radeon R9 270x GPU Card + 16GB ram + 1TB HDD

b.) OS is Ubuntu 16.04.2 LTS

c.) GCC is 5.4

d.) Kernel is generic


I have installed AMDGPUPRO 17.10 using the instructions given on the web page. I am able to run Phoronix tests correctly. When I run "clinfo", Both devices are also detected; The GPU is identified as PITCAIRN and CPU is identified as Kaveri. After this, I install APP SDK 3.0 in /opt. I reboot and try to run the samples from the samples/opencl folder.

Barring "Hello World", I am unable to run any example.

Whenever I am running an example (say FFT or PrefixSum), I get the following error

"CL_HOST_OUT_OF_MEMORY" at clCreateCommandQueue and the program exits. What could be the problem? As per the information given on websites; this graphics card is supported by AMDGPUPRO. Am I missing out something? Can someone please share some thoughts on this?