- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have installed the latest intel opencl sdk 2012
However the application stops at the point when it calls clGetPlatformIDs()
The function returns -1001
I can confirm that registry keys point correctly to IntelOpenCL32/64.dll, and the files exist in the system path
My CPU is i5-2500K
The same program runs fine on another pc with AMD opencl driver and i3 cpu
Please help and advise
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anton,
-1001 = CL_PLATFORM_NOT_FOUND_KHR, and is returned when clGetPlatformIDs() sees no platforms available. Obviously, you are trying to execute your code on the Intel HD graphics. Can you list the driver version you are using?
- Chuck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Chuck,
I want to run my code on CPU. I understand that it should be possible.
The idea is to have a CPU-fallback option when there is no compliant GPU, which is the case with sandy bridge.
More info: on the 2nd machine, with working amd opencl, I also installed intel opencl, and guess what? It still shows only amd platform.
I think I have the latest driver (maybe late 2012)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anton,
That is interesting. This is on Windows? Which version? 32 or 64 bit? If you install the GPU Caps viewer, what platform does it show you?
- Chuck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anton,
What does GPU Caps viewer show under "OpenCL"?
Raghu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Chuck,
I updated my driver to 12'2012 and now it works fine
Thanks for the hint
Don't worry, I have already slapped myself for not having the latest driver :/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anton,
No problem. Glad to here it is working for you.
- Chuck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Chuck,
BTW do I understand correctly that I need to have intel graphics driver istalled (and probably to have intel graphics enabled in bios and device manager) for intel opencl to run on CPU?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No that's not true. You can just install the CPU runtime to expose the OpenCL CPU device. I am guessing there was some other problem with your previous installation and the runtime probably didnt detect your device.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page