mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Disable atomic dependency tracking for TSP
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b2918b5115
commit
2d55916003
@@ -253,10 +253,11 @@ uint32_t TagNode<TagType>::getPacketsUsed() const {
|
||||
template <typename TagType>
|
||||
uint32_t TagNode<TagType>::getImplicitGpuDependenciesCount() const {
|
||||
if constexpr (TagType::getTagNodeType() == TagNodeType::TimestampPacket) {
|
||||
return tagForCpuAccess->getImplicitGpuDependenciesCount();
|
||||
} else {
|
||||
return 0;
|
||||
if (DebugManager.flags.DisableAtomicForPostSyncs.get() == 0) {
|
||||
return tagForCpuAccess->getImplicitGpuDependenciesCount();
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
template <typename TagType>
|
||||
|
||||
Reference in New Issue
Block a user