mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
performance: add debug flag to disable l1 flush
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
51a9aa792f
commit
05eb4e7a0d
@@ -438,6 +438,11 @@ void EncodeDispatchKernel<Family>::setupPostSyncForRegularEvent(WalkerType &walk
|
||||
postSync.setDataportPipelineFlush(true);
|
||||
postSync.setDataportSubsliceCacheFlush(true);
|
||||
|
||||
if (NEO::debugManager.flags.ForcePostSyncL1Flush.get() != -1) {
|
||||
postSync.setDataportPipelineFlush(!!NEO::debugManager.flags.ForcePostSyncL1Flush.get());
|
||||
postSync.setDataportSubsliceCacheFlush(!!NEO::debugManager.flags.ForcePostSyncL1Flush.get());
|
||||
}
|
||||
|
||||
auto operationType = POSTSYNC_DATA::OPERATION_WRITE_IMMEDIATE_DATA;
|
||||
uint64_t gpuVa = args.eventAddress;
|
||||
uint64_t immData = args.postSyncImmValue;
|
||||
@@ -468,6 +473,10 @@ void EncodeDispatchKernel<Family>::setupPostSyncForInOrderExec(WalkerType &walke
|
||||
|
||||
postSync.setDataportPipelineFlush(true);
|
||||
postSync.setDataportSubsliceCacheFlush(true);
|
||||
if (NEO::debugManager.flags.ForcePostSyncL1Flush.get() != -1) {
|
||||
postSync.setDataportPipelineFlush(!!NEO::debugManager.flags.ForcePostSyncL1Flush.get());
|
||||
postSync.setDataportSubsliceCacheFlush(!!NEO::debugManager.flags.ForcePostSyncL1Flush.get());
|
||||
}
|
||||
|
||||
uint64_t gpuVa = args.inOrderExecInfo->getBaseDeviceAddress() + args.inOrderExecInfo->getAllocationOffset();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user