diff options
Diffstat (limited to 'test/routines/level2/xhpr.hpp')
-rw-r--r-- | test/routines/level2/xhpr.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/routines/level2/xhpr.hpp b/test/routines/level2/xhpr.hpp index 8f44a68d..a5c77811 100644 --- a/test/routines/level2/xhpr.hpp +++ b/test/routines/level2/xhpr.hpp @@ -79,7 +79,7 @@ class TestXhpr { buffers.x_vec(), args.x_offset, args.x_inc, buffers.ap_mat(), args.ap_offset, &queue_plain, &event); - clWaitForEvents(1, &event); + if (status == StatusCode::kSuccess) { clWaitForEvents(1, &event); clReleaseEvent(event); } return status; } |