SWDEV-257937 - ROC_BARRIER_SYNC fix for missing SDMA flush

Change-Id: I93e8902bfcb16bac8ea594e16ea397b1ceafbd79
This commit is contained in:
Payam
2020-12-14 16:44:32 -05:00
committed by Payam Ghafari
parent d4316141b7
commit f134b90199
3 changed files with 38 additions and 6 deletions
+3 -1
View File
@@ -715,7 +715,9 @@ void VirtualGPU::ResetQueueStates() {
bool VirtualGPU::releaseGpuMemoryFence(bool force_barrier) {
// Return if there is no pending dispatch
if (!hasPendingDispatch_) {
return false;
if (dev().settings().barrier_sync_ || !force_barrier) {
return false;
}
}
hsa_signal_t wait_signal = barrier_signal_;