HD Processor Graphics (HD4000) failed to load as a device in Intel OpenCL SDK

女生的网名这么多〃 提交于 2019-12-10 17:38:57

问题


I'm using i7-3770K Ivy Bridge with HD 4000, and I've installed the latest drivers and the newest OpenCL SDK.

When tried to run the code samples with CPU, it works just fine. However, when I set the '-g' parameter to run with the processing graphics, the device cannot be found hence it exited with code -1 (which is likely caused by failing to create a CL context).

SimpleOptimization, GodRays, and all codes that support Intel Processor Graphics failed to run with the HD4000.

I am using Windows 7 64-bit, MSVS VC++ 2008 express edition.

GPU Caps Viewer also could not detect Intel HD Graphics as the Intel OpenCL device.

In addition, when I run DirectX SDK code samples, the Intel HD 4000 was detected perfectly and it run the code just fine with the HD Graphics.

And I also have an nvidia card on my system which runs as the graphical driver.

Any idea how do I solve this problem?


回答1:


I've managed to solve my problem based on a statement of SE in Intel. Now the HD Graphics run perfect as an OpenCL device.

"I also have an nvidia card on my system which runs as the graphical driver."

Maxim Shevtsov (Intel): Likely this is the actual root-cause. Currently Processor Graphics OCL device in unavailable in the "headless" configuration (without a monitor plugged in).

And this is the Q&A in Intel forum and the answer, I hope this is useful for someone who encounters this problem:

http://software.intel.com/en-us/forums/showthread.php?t=105793&p=1#187037



来源:https://stackoverflow.com/questions/10942465/hd-processor-graphics-hd4000-failed-to-load-as-a-device-in-intel-opencl-sdk

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!