performance: Use lock pointer copy for dc flush mitigation

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2024-10-31 08:57:43 +00:00
committed by Compute-Runtime-Automation
parent 3fcb9b18ee
commit b050a83242
5 changed files with 37 additions and 15 deletions

View File

@@ -8,6 +8,8 @@
#pragma once
namespace NEO {
struct UltHwConfig {
const char *aubTestName = nullptr;
bool mockedPrepareDeviceEnvironmentsFuncResult = true;
bool useHwCsr = false;
bool useMockedPrepareDeviceEnvironmentsFunc = true;
@@ -16,6 +18,7 @@ struct UltHwConfig {
bool useWaitForTimestamps = false;
bool useBlitSplit = false;
bool useFirstSubmissionInitDevice = false;
bool useGpuCopyForDcFlushMitigation = false;
bool csrFailInitDirectSubmission = false;
bool csrBaseCallDirectSubmissionAvailable = false;
@@ -26,9 +29,6 @@ struct UltHwConfig {
bool csrBaseCallCreatePreemption = true;
bool csrCreatePreemptionReturnValue = true;
bool reserved = false;
const char *aubTestName = nullptr;
};
extern UltHwConfig ultHwConfig;