mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Revert "refactor: add BlitSyncPropertiesExt to BlitSyncProperties"
This reverts commit b5a259aded.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b5a259aded
commit
0c3b765942
@@ -57,20 +57,16 @@ struct EncodePostSyncArgs {
|
||||
uint64_t inOrderIncrementValue = 0;
|
||||
Device *device = nullptr;
|
||||
NEO::InOrderExecInfo *inOrderExecInfo = nullptr;
|
||||
bool isCounterBasedEvent = false;
|
||||
bool isTimestampEvent = false;
|
||||
bool isHostScopeSignalEvent = false;
|
||||
bool isUsingSystemAllocation = false;
|
||||
bool isKernelUsingSystemAllocation = false;
|
||||
bool dcFlushEnable = false;
|
||||
bool interruptEvent = false;
|
||||
bool isFlushL3ForExternalAllocationRequired = false;
|
||||
bool isFlushL3ForHostUsmRequired = false;
|
||||
|
||||
bool requiresSystemMemoryFence() const {
|
||||
return (isHostScopeSignalEvent && isUsingSystemAllocation && this->device->getProductHelper().isGlobalFenceInPostSyncRequired(this->device->getHardwareInfo()));
|
||||
}
|
||||
bool isValidEvent() const {
|
||||
return (eventAddress != 0) || (isCounterBasedEvent && !isTimestampEvent);
|
||||
return (isHostScopeSignalEvent && isKernelUsingSystemAllocation && this->device->getProductHelper().isGlobalFenceInPostSyncRequired(this->device->getHardwareInfo()));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user