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

Offline compile

$
0
0

Hello,

I am trying to offline compile a simple opencl test program. I am successuflly able to online compile the same kernel. and in my online compiling host program when I call clGetPlatformIDs I get back 2 values one being my my cpu the other being my gpu. but when I try and compile using the offline compiler with the -device=gpu flag I get the error "Failed to get OpenCL device...: -1 (CL_DEVICE_NOT_FOUND)". If I open code composer and look at devices the only one that shows up is my CPU. Not sure what I am doing wrong or how to go about fixing this issue. Thanks in advance for the help.

Dan
 

 

Info: I am on a intel core i5-4302y running centos 7.1 with the 14.2 opencl runtime and the 2015 SDK installed.


Viewing all articles
Browse latest Browse all 1182

Trending Articles



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