Open GoogleCodeExporter opened 8 years ago
If you add the lines below to runDijkstra you'll find localWorkSize is actually
smaller than the value returned by the CL_DEVICE_MAX_WORK_GROUP_SIZE check.
size_t kernelLocalSize;
errNum = clGetKernelWorkGroupInfo(initializeBuffersKernel, deviceId, CL_KERNEL_WORK_GROUP_SIZE, sizeof(kernelLocalSize), &kernelLocalSize, NULL);
The enqueue function will fail if the localWorkSize is larger than
kernelLocalSize.
Original comment by edel...@gmail.com
on 23 Feb 2012 at 8:46
Original issue reported on code.google.com by
tomcool...@gmail.com
on 17 Feb 2012 at 2:57