Hi,
I’m trying to run my kernels in the Visual Profiler (Version 3.2.0)
The kernel I want to profile runs fine outside the profiler, but when I try it into the profiler I get the following error :
(code use Qt Test lib and QtOpenCL)
QWARN : Benchmark::gpu2() OpenCL context notification: CL_OUT_OF_RESOURCES error executing CL_COMMAND_MAP_BUFFER on GeForce GTX 460 (Device 0).
QWARN : Benchmark::gpu2() QCLVector<T>::map: "CL_OUT_OF_RESOURCES"
I checked the function clEnqueueMapBuffer and it can’t return CL_OUT_OF_RESOURCES error, so I checked QtOpenCL library but didn’t found anything wrong, clEnqueueMapBuffer return an error code of -5 which is not possible according to the spec. What am I missing here?
Config : GTX 460 (260.19.36) with opencl 1.0
Kernel : GlobalSize ~38000
Buffer of clEnqueueReadBuffer : 38000 floats