pocl icon indicating copy to clipboard operation
pocl copied to clipboard

Fix return err value in clGetEvent(Profiling)Info

Open kubouch opened this issue 8 months ago • 0 comments

According to https://registry.khronos.org/OpenCL/sdk/3.0/docs/man/html/clGetEventInfo.html and https://registry.khronos.org/OpenCL/sdk/1.0/docs/man/xhtml/clGetEventProfilingInfo.html, the returned value should be CL_INVALID_EVENT if the event is not a valid object.

kubouch avatar Jun 18 '24 14:06 kubouch