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. 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.