Skip to content

Commit 3679836

Browse files
committed
Remove unnecessary waitForSignal's
1 parent 6a9d6f2 commit 3679836

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/API/DX/Device.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ class DXDevice : public hlsltest::Device {
553553
ResourcePair->second.Readback->Unmap(0, nullptr);
554554
}
555555
}
556-
return waitForSignal(IS);
556+
return llvm::Error::success();
557557
}
558558

559559
llvm::Error executeProgram(llvm::StringRef Program, Pipeline &P) override {
@@ -587,9 +587,6 @@ class DXDevice : public hlsltest::Device {
587587
if (auto Err = readBack(P, State))
588588
return Err;
589589
llvm::outs() << "Read data back.\n";
590-
if (auto Err = waitForSignal(State))
591-
return Err;
592-
llvm::outs() << "Wait and Sync...\n";
593590

594591
return llvm::Error::success();
595592
}

0 commit comments

Comments
 (0)