mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 18:06:32 +08:00
Change DG2 l1 cache policy to WB
With compiler LSC WAs this gives better performance. If debugger is active, policy will not be changed ie. will be WBP. Related-To: NEO-7003 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6118e41741
commit
8cc0177f1c
@@ -1743,7 +1743,7 @@ TEST_F(ProgramTests, whenGetInternalOptionsThenLSCPolicyIsSet) {
|
||||
MockProgram program(pContext, false, toClDeviceVector(*pClDevice));
|
||||
auto internalOptions = program.getInternalOptions();
|
||||
const auto &compilerHwInfoConfig = *CompilerHwInfoConfig::get(defaultHwInfo->platform.eProductFamily);
|
||||
auto expectedPolicy = compilerHwInfoConfig.getCachingPolicyOptions();
|
||||
auto expectedPolicy = compilerHwInfoConfig.getCachingPolicyOptions(false);
|
||||
if (expectedPolicy != nullptr) {
|
||||
EXPECT_TRUE(CompilerOptions::contains(internalOptions, expectedPolicy));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user