clEnqueueNDRangeKernel() returns with error code "-58"

Hi,

in some cases i recive an error from clEnqueueNDRangeKernel() with code “-58”.
But i counldn’t find that code anywere.

What dose it mean?

Found it. It’s defined in cl.h: :roll:

#define CL_INVALID_EVENT -58”