SWDEV-364604 - Add ROCclr support for hipEventDisableSystemFence
Change-Id: I6127b432a8759359359a1890fda85bc401be6a56
This commit is contained in:
1 parent
4830dd168c
commit
3e603d986a
6 files changed
+31
-20
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user