I am using a microsoft azure notebook to write a PyOpenCL code, and am using windows 10 with Intel i7-4770K CPU processor.
I managed to install PyOpenCL library, but it throws the error "clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR" when I write the code:
cl.create_some_context()
I am guessing no context is being found, so I followed the PyOpenCL documentation which says I need to install the CPU OpenCL driver from Intel from this link: https://software.intel.com/en-us/articles/opencl-drivers#latest_CPU_runtime
And this is the most confusing page I have ever come across. I am not sure what exactly I am supposed to download and install here. Could someone please help me out?
This is my code:
import pyopencl as cl
ctx = cl.create_some_context()
queue = cl.CommandQueue(ctx)
And it throws this error: LogicError: clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR
I install PyOpenCL using this code:
import sys
!{sys.executable} -m pip install pyopencl