Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

Offline compile fails with CL_DEVICE_NOT_FOUND

$
0
0

Hi everyone, 

I am trying to play with the OpenCL SDK for Intel. I am able to compile an OpenCL program with gcc and list all the available platforms and run a simple addition kernel. 

However, if I try to use the offline compiler ioc64, this is what I get:

Failed to get OpenCL device...: -1 (CL_DEVICE_NOT_FOUND)

Build failed!

 

As I said, the simpleAdd.c program works, and clinfo recognizes all the different platforms. 

 

-- What I installed --

I installed the neo runtime driver from here (I also installed the libva support): 

https://github.com/intel/compute-runtime

 

And the sdk from here:

https://registrationcenter.intel.com/en/products/postregistration/?sn=C6...

 

Worth mentioning: during the installation, the installer was warning me that my GPU is not supported. 

 

-- My configuration --

I have a coffee lake i7 8700k CPU and I am running on Ubuntu mate 18.07. 

 

Any idea or suggestions about why the offline compiler is misbehaving? They link with the same libraries, so I really don't understand why the difference. 

 

I also saw this other thread: 

https://software.intel.com/en-us/forums/opencl/topic/605224

 

But none of the solutions mentioned there helped me. 

 

Thanks a lot for any suggestion,

Giuseppe


Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>