I just tried to run some basic OpenCL examples on a laptop with Intel HD Graphics 4000, but it immediately crashes Visual Studio if I try to get the platform info.
It's strange, because I have the latest versions of Visual Studio and OpenCL SDK.
Does anyone know how to solve this?
System information:
OS: Windows 10 Pro
Version: 17.03
OS Build: 15063.786
Microsoft Visual Studio 15.4.0
OpenCL Code Builder - Intel(R) SDK for OpenCL Applications 2017 Beta 7.0.0.2519
Graphics adapter: Intel HD Graphics 4000 which is has OpenCL support.
How to replicate:
- Launch Microsoft Visual Studio 2017
- Code-Builder > Platform Info...
- Click Available Machines > (local) [PC_name] > Intel(R) OpenCL > CPU (or GPU)
Result:
Visual Studio crashes, produced an error message in a pop-up window (screenshot attached):
"Microsoft Visual Studio 2017 has stopped working.
A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available."
The solution posted on this forum earlier https://software.intel.com/en-us/forums/opencl/topic/603665#comment-1857032 does not seem to work as my machine already has the latest OpenCL SDK.