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

OpenCL.lib missing clCreateProgramWithIL?

$
0
0

Hello,

I am currently testing out some OpenCL features using SPIR-V and the llvm Clang compiler. Currently I'm trying out the example Using SPIR for fun and profit with Intel OpenCL Code Builder and I'm running into problems when trying to run the built executable. I'm running on a windows 10 machine in visual studio 2017, my target device is an Intel i7 - 8700. I've already installed the Intel OpenCL code builder studio tools and have successfully run multiple OpenCL projects already. My build targets x64.

The above example builds just fine but when I go to run the executable an error dialog box appears stating: "The procedure entry point clCreateProgramWithIL could not be located in the dynamic link library" followed by the path to my executable. I opened the OpenCL.lib that I'm targeting in the project and can see that clCreateProgramWithIL is listed along with other entry points in the library. To further investigate using the program Dependency Walker I targeted the built executable and can see that the clCreateProgramWithIL is listed as an "Unresolved C Function" I've included a snippet of the program window below.

Is this something missing from the OpenCL.lib build from Intel? I've already run multiple OpenCL projects and haven't had any problems thus far. Any help would be extremely appreciated!

Thank you for your time!

AttachmentSize
Downloadimage/pngDependWalker.PNG19.24 KB

Viewing all articles
Browse latest Browse all 1182

Trending Articles



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