Skip to content

Commit

Permalink
fix streamWaitEvent (#700)
Browse files Browse the repository at this point in the history
Co-authored-by: jingguo-st <fujingguo@sensetime.com>
  • Loading branch information
yangbofun and jingguo-st authored Feb 26, 2024
1 parent 2f3e94a commit 831b1e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dipu/torch_dipu/csrc_dipu/vendor/ascend/deviceimpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ bool streamNotNull(deviceStream_t stream) {
}

void streamWaitEvent(deviceStream_t stream, deviceEvent_t event) {
DIPU_CALLACLRT(::aclrtSynchronizeEvent(event))
DIPU_CALLACLRT(::aclrtStreamWaitEvent(stream, event))
}

// =====================
Expand Down

0 comments on commit 831b1e0

Please sign in to comment.