SWDEV-417727 - Fix hipSignalExternalSemaphoresAsync()
This reverts commitcab71e6e00. Implement the right way to make ExternalSemaphores be signalled only after prior works on the stream have been finished. Change-Id: I9d5974e05d5f229170b928db4566c14e40e3cbaa [ROCm/clr commit:d433df4761]
This commit is contained in:
@@ -2812,6 +2812,7 @@ void VirtualGPU::submitExternalSemaphoreCmd(amd::ExternalSemaphoreCmd& cmd) {
|
||||
|
||||
if (cmd.semaphoreCmd() ==
|
||||
amd::ExternalSemaphoreCmd::COMMAND_SIGNAL_EXTSEMAPHORE) {
|
||||
flushDMA(MainEngine);
|
||||
queues_[MainEngine]->iQueue_->SignalQueueSemaphore(const_cast<Pal::IQueueSemaphore*>(sem),
|
||||
cmd.fence());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user