diff options
Diffstat (limited to 'test/routines/level1/xdot.hpp')
-rw-r--r-- | test/routines/level1/xdot.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/routines/level1/xdot.hpp b/test/routines/level1/xdot.hpp index f6cf2809..c4f6076a 100644 --- a/test/routines/level1/xdot.hpp +++ b/test/routines/level1/xdot.hpp @@ -81,7 +81,7 @@ class TestXdot { buffers.x_vec(), args.x_offset, args.x_inc, buffers.y_vec(), args.y_offset, args.y_inc, &queue_plain, &event); - clWaitForEvents(1, &event); + if (status == StatusCode::kSuccess) { clWaitForEvents(1, &event); clReleaseEvent(event); } return status; } |