mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add flag to control prefetcher disabling behaviour
Certain platforms might not require prefetcher to be disabled in direct submission. This change provides a way to control that behaviour. Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com> Related-To: NEO-7218
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
bfc0919999
commit
5e58104f5a
@ -161,3 +161,8 @@ HWTEST2_F(HwInfoConfigTest, givenPlatformWithUnsupportedL1CachePoliciesWhenGetL1
|
||||
|
||||
EXPECT_EQ(0u, hwInfoConfig->getL1CachePolicy());
|
||||
}
|
||||
|
||||
HWTEST_F(HwInfoConfigTest, givenHwInfoConfigWhenIsPrefetcherDisablingInDirectSubmissionRequiredThenTrueIsReturned) {
|
||||
const auto &hwInfoConfig = *HwInfoConfig::get(defaultHwInfo->platform.eProductFamily);
|
||||
EXPECT_TRUE(hwInfoConfig.isPrefetcherDisablingInDirectSubmissionRequired());
|
||||
}
|
||||
|
Reference in New Issue
Block a user