SWDEV-364604 - Add ROCclr support for hipEventDisableSystemFence

Change-Id: I6127b432a8759359359a1890fda85bc401be6a56
This commit is contained in:
Saleel Kudchadker
2023-01-20 15:34:24 -08:00
committed by Rahul Garg
parent 4830dd168c
commit 3e603d986a
6 changed files with 31 additions and 20 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ void HostQueue::finish() {
return;
}
}
if (nullptr == command || vdev()->isHandlerPending()) {
if (nullptr == command || vdev()->isHandlerPending() || vdev()->isFenceDirty()) {
if (nullptr != command) {
command->release();
}