diff --git a/src/wrapper/wrap_cl.hpp b/src/wrapper/wrap_cl.hpp index e73fca9624d461825ff69c3796f4272d07d0fa37..ea0cbdaf0ede9240045ea6e79d79ab2c812a8b68 100644 --- a/src/wrapper/wrap_cl.hpp +++ b/src/wrapper/wrap_cl.hpp @@ -1036,7 +1036,7 @@ namespace pyopencl event *create_user_event(context &ctx) { cl_int status_code; - cl_event evt = clCreateUserEvent(ctx.data(), &status_code) + cl_event evt = clCreateUserEvent(ctx.data(), &status_code); PYOPENCL_PRINT_CALL_TRACE("clCreateUserEvent"); if (status_code != CL_SUCCESS)