mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
performance: defer internal context init, ptl, bmg
os agnostic Related-To: NEO-16633 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
02848968be
commit
cf3f5d7499
@@ -151,4 +151,8 @@ BMGTEST_F(BmgProductHelper, givenProductHelperWhenCheckingIsHostDeviceUsmPoolAll
|
||||
EXPECT_TRUE(productHelper->isHostUsmPoolAllocatorSupported());
|
||||
EXPECT_TRUE(productHelper->isDeviceUsmPoolAllocatorSupported());
|
||||
}
|
||||
}
|
||||
|
||||
BMGTEST_F(BmgProductHelper, givenProductHelperWhenCheckingInitializeInternalEngineImmediatelyThenCorrectValueIsReturned) {
|
||||
EXPECT_FALSE(productHelper->initializeInternalEngineImmediately());
|
||||
}
|
||||
@@ -75,6 +75,10 @@ PTLTEST_F(PtlProductHelper, givenProductHelperWhenCheckingIsBufferPoolAllocatorS
|
||||
EXPECT_TRUE(productHelper->isBufferPoolAllocatorSupported());
|
||||
}
|
||||
|
||||
PTLTEST_F(PtlProductHelper, givenProductHelperWhenCheckingInitializeInternalEngineImmediatelyThenCorrectValueIsReturned) {
|
||||
EXPECT_FALSE(productHelper->initializeInternalEngineImmediately());
|
||||
}
|
||||
|
||||
PTLTEST_F(ProductHelperTest, givenProductHelperWhenGetL1CachePolicyThenReturnWriteByPass) {
|
||||
EXPECT_EQ(2u, productHelper->getL1CachePolicy(false));
|
||||
EXPECT_EQ(0u, productHelper->getL1CachePolicy(true));
|
||||
|
||||
@@ -34,7 +34,3 @@ PTLTEST_F(PtlProductHelperWindows, givenOverrideDirectSubmissionTimeoutsCalledTh
|
||||
EXPECT_EQ(timeoutUs, 2'000ull);
|
||||
EXPECT_EQ(maxTimeoutUs, 3'000ull);
|
||||
}
|
||||
|
||||
PTLTEST_F(PtlProductHelperWindows, givenCheckingInitializeInternalEngineImmediatelyThenReturnFalse) {
|
||||
EXPECT_FALSE(productHelper->initializeInternalEngineImmediately());
|
||||
}
|
||||
Reference in New Issue
Block a user