mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +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
@@ -50,7 +50,7 @@ class TimestampPackets : public TagTypeBase {
|
||||
static constexpr size_t getSinglePacketSize() { return sizeof(Packet); }
|
||||
|
||||
bool isCompleted() const {
|
||||
if (DebugManager.flags.DisableAtomicForPostSyncs.get()) {
|
||||
if (DebugManager.flags.DisableAtomicForPostSyncs.get() == 1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -164,12 +164,7 @@ struct TimestampPacketHelper {
|
||||
EncodeSempahore<GfxFamily>::addMiSemaphoreWaitCommand(cmdStream, compareAddress + compareOffset, 1, COMPARE_OPERATION::COMPARE_OPERATION_SAD_NOT_EQUAL_SDD);
|
||||
}
|
||||
|
||||
bool trackPostSyncDependencies = true;
|
||||
if (DebugManager.flags.DisableAtomicForPostSyncs.get()) {
|
||||
trackPostSyncDependencies = false;
|
||||
}
|
||||
|
||||
if (trackPostSyncDependencies) {
|
||||
if (DebugManager.flags.DisableAtomicForPostSyncs.get() == 0) {
|
||||
overrideSupportedDevicesCount(numSupportedDevices);
|
||||
|
||||
for (uint32_t i = 0; i < numSupportedDevices; i++) {
|
||||
|
||||
Reference in New Issue
Block a user