whenever i am running my program on GPU it works fine but when i change it to CPU
via CL_DEVICE_TYPE_CPU it says
unhandled exception at 0x00215007 in program.exe 0xC00000005
Access violation reading location 0x00000001 a0acad10

plspls help