This is also gpgpu event, which can cause leakes.
Just release it.
---
utests/profiling_exec.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/utests/profiling_exec.cpp b/utests/profiling_exec.cpp
index afa55ba..4232772 100644
--- a/utests/profiling_exec.cpp
+++ b/utests/profiling_exec.cpp
@@ -85,6 +85,7 @@ static void profiling_exec(void)
OCL_CALL(clGetEventProfilingInfo, exec_event, CL_PROFILING_COMMAND_START,
sizeof(cl_ulong), &time_start, NULL);
OCL_CALL(clGetEventProfilingInfo, exec_event, CL_PROFILING_COMMAND_END,
sizeof(cl_ulong), &time_end, NULL);
+ clReleaseEvent(exec_event);
check_profiling_time(time_queue, time_submit, time_start, time_end);
// Compare
--
2.1.4
_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet