SWDEV-364604 - Add ROCclr support for hipEventDisableSystemFence
Change-Id: I6127b432a8759359359a1890fda85bc401be6a56
Cette révision appartient à :
1 Parent
4830dd168c
révision
3e603d986a
6 fichiers modifiés
+31
-20
Aucun fichier ne correspond à votre recherche
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur