diff options
Diffstat (limited to 'test/routines/levelx/xomatcopy.hpp')
-rw-r--r-- | test/routines/levelx/xomatcopy.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/routines/levelx/xomatcopy.hpp b/test/routines/levelx/xomatcopy.hpp index 4637c07e..dccb3583 100644 --- a/test/routines/levelx/xomatcopy.hpp +++ b/test/routines/levelx/xomatcopy.hpp @@ -77,7 +77,7 @@ class TestXomatcopy { buffers.a_mat(), args.a_offset, args.a_ld, buffers.b_mat(), args.b_offset, args.b_ld, &queue_plain, &event); - clWaitForEvents(1, &event); + if (status == StatusCode::kSuccess) { clWaitForEvents(1, &event); clReleaseEvent(event); } return status; } |