Skip to content

Commit e573626

Browse files
committed
Respond to feedback
1 parent 9024ac8 commit e573626

File tree

1 file changed

+1
-1
lines changed
  • offload/plugins-nextgen/amdgpu/src

1 file changed

+1
-1
lines changed

offload/plugins-nextgen/amdgpu/src/rtl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,9 +1067,9 @@ struct AMDGPUStreamTy {
10671067
static void CallbackWrapper(AMDGPUSignalTy *InputSignal,
10681068
AMDGPUSignalTy *OutputSignal,
10691069
void (*Callback)(void *), void *UserData) {
1070+
// The wait call will not error in this context.
10701071
if (InputSignal)
10711072
if (auto Err = InputSignal->wait())
1072-
// Wait shouldn't report an error
10731073
reportFatalInternalError(std::move(Err));
10741074

10751075
Callback(UserData);

0 commit comments

Comments
 (0)