Uninstall Intel OpenCL Platform?





Machine Details:


Windows 10


CPU: Intel Core i5 4670K Quad Core


Integrated Graphics: HD 4600


I've been developing an AMD OpenCL application using their SDK.  I use VS2015 to compile, then I test on a different machine with a discrete AMD GPU.


Recently I installed a AMD RX 470 on my dev machine, which means I now have two OpenCL platforms: Intel and AMD.  Now, my application crashes when run from the IDE :



> 
> Unhandled exception at 0x00007FFB3F76A74A (igdrcl64.dll) in ethminer.exe: 0xC0000005: Access violation reading location 0x0000000000000994.
> 
> 
> 


The error appears to be occurring in igdrcl64.dll when my application attempts to enumerate installed OpenCL platforms by calling [clGetPlatformIDs](https://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clGetPlatformIDs.html).  Interestingly, my application seems to run fine when run from the command line, outside the IDE.


I don't really know the best way to solve this, but I was thinking it might help to remove the Intel OpenCL platform. How can I do that?  Before installing the new GPU, I uninstalled the Intel Graphics Driver from the control panel, but I don't  think it got everything.
If you're comfortable mucking with the registry, the easiest thing to do is to modify:


* HKLM\SOFTWARE\Khronos\OpenCL\Vendors (for 64-bit applications)


or


* HKLM\SOFTWARE\Wow6432Node\Khronos\OpenCL\Vendors (for 32-bit applications)


These registry keys should contain one REG\_DWORD value for each OpenCL platform.  If you change the REG\_DWORD value for a platform from 0 to 1 then that platform will no longer enumerate.  The nice thing about this method is that if you change your mind, you can re-enable the platform by simply changing the value from 1 back to 0.


The ICD loader extension spec has more detail, if you're curious:


<https://www.khronos.org/registry/cl/extensions/khr/cl_khr_icd.txt>




[View solution in original post](/t5/OpenCL/Uninstall-Intel-OpenCL-Platform/m-p/1109711#M5258)
OK, Problem fixed. If anyone else comes across this problem: I was able to install the new driver by using Intel's EXE version rather than the zip version and disconnecting from the inet. Everything went fine. This error has to do with the XFree86 config file. I'm not sure about Mandrake, but in Windows it's at /etc/X11/XF86Config or /etc/X11/XF86Config-4



This file can be hand-edited or configured via a program such as Xconfigurator or xf86config (I think those are the names of the programs? if you have them installed)



What video card are you using? If you're using an Nvidia based card, go to the Linux section of [nvidia.com](http://nvidia.com/) and there is a detailed text file with everything you need to know about this file to get it to work. [image] erost:

intel core i3 m 380

you can’t use vulkan on your igpu. it’s too old (2010). vulkan is only supported on ivy bridge (2012) and forward.

and it looks like you don’t have a dgpu, only an igpu.

you can try to run the game without dxvk, which will translate the game to opengl thank you for taking interest in my post.

i have solved the problem.it was mistake from my own part.

i have disabled some of the hardware detection services before the update.

i have disabled the "device install service" on the windows service

[[asas]](https://aws1.discourse-cdn.com/arduino/original/4x/5/0/9/509934b6660953c4e848dc95f40efd35d02bfe60.png "asas")

renabling it and rebooting it solved the … welcome to the forum! :slight\_smile:

[image] adamski234:

i had linux59 installed since the nvidia drivers were released. but after the update to rc4, the driver stopped working, and while trying to update/reinstall i found out that the driver was not in the unstable repos. not 440xx, not 450xx,… this is duplicate of <https://devtalk.nvidia.com/default/topic/1071283/>

let’s continue in topic 1071283. enable xmp. run stability testing.
if that is all good and you want to now overclock the cpu then it's time to make a new thread in the overclocking section. Hello ramavtar..  

  

 i have a acer aspire 4710z. This laptop can not open the display but the system unit is working normally. i can not see the display but i can join the external monitor i will see it process. Pls let me know how can i repair it.Pls reply to this email thanks. [[email protected]](/cdn-cgi/l/email-protection#3a4a435f534955545f0b0302027a5d575b535614595557) the compiler will throw the following errors:  


10: error: increment of read-only variable **k**,  


12: error: **lvalue** required as increment operand. that error happens when there's no handle to close. i see you call the 'open()' and you're not getting an object reference error before closehandle(). check your memory.pointerwrite() function to make sure it's not doing a closehandle() prematurely. it sounds like you're calling closehandle() twice.