When I try to enqueue a kernel, I’m getting an error saying “access violation reading location 0xfdfdfdfd”. I’ve put most of the OpenCL related stuff on a class (context creation, building, etc) and I’m trying to enqueue with:
err = gpuHandler->getCommandQueue()->enqueueNDRangeKernel(*gpuHandler->getMyKernel(), cl::NullRange, global, local);
What could I be doing wrong?
Thanks in advance!