SWDEV-364604 - Add ROCclr support for hipEventDisableSystemFence

Change-Id: I6127b432a8759359359a1890fda85bc401be6a56
Cette révision appartient à :
Saleel Kudchadker a créé et Rahul Garg a révisé 2023-02-21 19:07:35 -05:00
1 Parent 4830dd168c
révision 3e603d986a
6 fichiers modifiés
+31 -20

Aucun fichier ne correspond à votre recherche

-1
Voir le fichier
@@ -436,7 +436,6 @@ NDRangeKernelCommand::NDRangeKernelCommand(HostQueue& queue, const EventWaitList
profilingInfo_.clear();
profilingInfo_.callback_ = nullptr;
profilingInfo_.marker_ts_ = true;
setEventScope(amd::Device::kCacheStateSystem);
}
kernel_.retain();
}
+1 -1
Voir le fichier
@@ -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();
}