Quantcast
Channel: AMD Developer Forums: Message List
Viewing all articles
Browse latest Browse all 4104

ConcurrentKernel OpenCLsample problem

$
0
0

Hello,

 

I tried to run the ConcurrentKernel on both A10-7850k and R9 290x GPUs and it keeps on failing. It only seems to be running on CPU devices. Any ideas on how to fix this?

 

 

Platform 0 : Intel(R) Corporation

Platform 1 : Advanced Micro Devices, Inc.

Platform found : Advanced Micro Devices, Inc.

 

Selected Platform Vendor : Advanced Micro Devices, Inc.

Device 0 : Spectre Device ID is 0x1f70d90

 

Sample parameters :

         Local Size : 64

         Num WGs Per Kernel : 10

         Available Compute Units : 8

         Num Kernels : 10

         Num Queues  : 2

         Buffer size per Kernel(Bytes) : 1048576

 

 

                        BUILD LOG

************************************************

"/tmp/OCL23554T5.cl", line 99: warning: kernel with local addrSpace variables

          cannot be called by other kernels or functions

      work2(input, output, bufferSize, multiplier);

      ^

 

"/tmp/OCL23554T5.cl", line 115: warning: kernel with local addrSpace variables

          cannot be called by other kernels or functions

      work2(input, output, bufferSize, multiplier);

      ^

 

"/tmp/OCL23554T5.cl", line 131: warning: kernel with local addrSpace variables

          cannot be called by other kernels or functions

      work2(input, output, bufferSize, multiplier);

      ^

 

"/tmp/OCL23554T5.cl", line 147: warning: kernel with local addrSpace variables

          cannot be called by other kernels or functions

      work2(input, output, bufferSize, multiplier);

      ^

 

"/tmp/OCL23554T5.cl", line 163: warning: kernel with local addrSpace variables

          cannot be called by other kernels or functions

      work2(input, output, bufferSize, multiplier);

      ^

 

Error compiling program for K2.

 

Frontend phase failed compilation.

Error: Creating kernel K2 failed!

 

************************************************

Error: Program::build() failed. Error code : CL_BUILD_PROGRAM_FAILURE

Location : /home/cas/APPSDK_linux_package/app_sdk/samples/opencl/cpp_cl/ConcurrentKernel/ConcurrentKernel.cpp:273


Viewing all articles
Browse latest Browse all 4104

Trending Articles