- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Calling ioc64.exe with device=CPU results in "Failed to initialize driver version from platform...: 0 (CL_SUCCESS)".
Background: I'm running Windows 10 Education on an Intel(R) Core(TM) i7-8700K CPU, and the OpenCL SDK and the newest OpenCL CPU runtime are installed and working.
I don't get this error if I set device=GPU, then everything works fine. And I didn't get this error a few weeks ago. In meantime I've upgraded from Windows 10 Home to Windows 10 Education.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am also having the same issue
Dell Inspiron 5567 Gen 7 with Intel® Core™ i5-7200U Processor with integrated Intel® HD Graphics 620. There are no other graphics cards.
Graphic driver 30.0.101.1660 3/18/2022
CPU Runtime w_opencl_runtime_p_2022.0.3.3747
SDK intel_sdk_for_opencl_applications_2020.3.494
Compiling the OpenCL template from above SDK (it is set to CPU target)
clinfo attached
MSVC 2019 output
Build started...
1>------ Build started: Project: CPUOpenCLProjectforWindows1, Configuration: Debug Win32 ------
1>Preprocessing: Template.cl
1>Using build options: -I "C:\Users\epatt\source\repos\CPUOpenCLProjectforWindows1"
1>C:\Users\epatt\source\repos\CPUOpenCLProjectforWindows1\Template.cl : error CL: Failed to initialize driver version from platform...: 0 (CL_SUCCESS)
1>Build failed!
1>
1>C:\Program Files (x86)\IntelSWTools\system_studio_2020\OpenCL\sdk\BuildCustomizations\IntelOpenCL.targets(49,5): error MSB3721: The command ""C:\Program Files (x86)\IntelSWTools\system_studio_2020\OpenCL\sdk\bin\x86\ioc32.exe" -cmd=build -input="C:\Users\epatt\source\repos\CPUOpenCLProjectforWindows1\Template.cl" -output="Debug\Template.out" -VS -device=CPU -targetos=current -bo=" "" exited with code -1073740791.
1>Done building project "CPUOpenCLProjectforWindows1.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you use OpenCL CPU Runtime, instead of OpenCL SDK? Maybe there are some compatibility issues between OpenCL CPU Runtime and OpenCL SDK. Could you uninstall OpenCL SDK and try again?
Thanks
![](/skins/images/45C6C2D737ED71F4C51F0145C8CB1E9C/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page