mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 23:56:39 +08:00
Change default value of flushL3cache to true.
Change-Id: Ibaf682fcbe54ebb97a01575b1891ccfe3f60fc4a Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
0666da693e
commit
094068807e
@@ -1278,9 +1278,9 @@ HWCMDTEST_F(IGFX_GEN8_CORE, HardwareCommandsTest, givenCacheFlushAfterWalkerEnab
|
||||
|
||||
char buff[MemoryConstants::pageSize * 2];
|
||||
MockGraphicsAllocation svmAllocation1{alignUp(buff, MemoryConstants::pageSize), MemoryConstants::pageSize};
|
||||
svmAllocation1.setFlushL3Required(true);
|
||||
mockKernelWithInternal->mockKernel->kernelSvmGfxAllocations.push_back(&svmAllocation1);
|
||||
MockGraphicsAllocation svmAllocation2{alignUp(buff, MemoryConstants::pageSize), MemoryConstants::pageSize};
|
||||
svmAllocation2.setFlushL3Required(false);
|
||||
mockKernelWithInternal->mockKernel->kernelSvmGfxAllocations.push_back(&svmAllocation2);
|
||||
mockKernelWithInternal->mockKernel->svmAllocationsRequireCacheFlush = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user