diff --git a/hipamd/src/hip_event.cpp b/hipamd/src/hip_event.cpp index 42a3192c44..77c5da2314 100644 --- a/hipamd/src/hip_event.cpp +++ b/hipamd/src/hip_event.cpp @@ -195,6 +195,7 @@ hipError_t Event::enqueueStreamWaitCommand(hipStream_t stream, amd::Command* com } else { command->enqueue(); } + return hipSuccess; } hipError_t Event::streamWait(hipStream_t stream, uint flags) {