diff --git a/shared/source/xe2_hpg_core/bmg/os_agnostic_product_helper_bmg.inl b/shared/source/xe2_hpg_core/bmg/os_agnostic_product_helper_bmg.inl index 8cc714707d..c8d60435f1 100644 --- a/shared/source/xe2_hpg_core/bmg/os_agnostic_product_helper_bmg.inl +++ b/shared/source/xe2_hpg_core/bmg/os_agnostic_product_helper_bmg.inl @@ -62,4 +62,9 @@ bool ProductHelperHw::isHostUsmPoolAllocatorSupported() const { return true; } +template <> +bool ProductHelperHw::initializeInternalEngineImmediately() const { + return false; +} + } // namespace NEO diff --git a/shared/source/xe3_core/ptl/os_agnostic_product_helper_ptl.inl b/shared/source/xe3_core/ptl/os_agnostic_product_helper_ptl.inl index 192de9490b..3467b9a4f8 100644 --- a/shared/source/xe3_core/ptl/os_agnostic_product_helper_ptl.inl +++ b/shared/source/xe3_core/ptl/os_agnostic_product_helper_ptl.inl @@ -44,4 +44,9 @@ bool ProductHelperHw::isMisalignedUserPtr2WayCoherent() const { return true; } +template <> +bool ProductHelperHw::initializeInternalEngineImmediately() const { + return false; +} + } // namespace NEO diff --git a/shared/test/unit_test/xe2_hpg_core/bmg/product_helper_tests_bmg.cpp b/shared/test/unit_test/xe2_hpg_core/bmg/product_helper_tests_bmg.cpp index 0965699e81..dd0ee3fda5 100644 --- a/shared/test/unit_test/xe2_hpg_core/bmg/product_helper_tests_bmg.cpp +++ b/shared/test/unit_test/xe2_hpg_core/bmg/product_helper_tests_bmg.cpp @@ -143,4 +143,8 @@ BMGTEST_F(BmgProductHelper, givenProductHelperWhenCheckingIsHostDeviceUsmPoolAll EXPECT_TRUE(productHelper->isHostUsmPoolAllocatorSupported()); EXPECT_TRUE(productHelper->isDeviceUsmPoolAllocatorSupported()); } +} + +BMGTEST_F(BmgProductHelper, givenProductHelperWhenCheckingInitializeInternalEngineImmediatelyThenCorrectValueIsReturned) { + EXPECT_FALSE(productHelper->initializeInternalEngineImmediately()); } \ No newline at end of file diff --git a/shared/test/unit_test/xe3_core/ptl/product_helper_tests_ptl.cpp b/shared/test/unit_test/xe3_core/ptl/product_helper_tests_ptl.cpp index d7b6117d5a..f95e05a2f5 100644 --- a/shared/test/unit_test/xe3_core/ptl/product_helper_tests_ptl.cpp +++ b/shared/test/unit_test/xe3_core/ptl/product_helper_tests_ptl.cpp @@ -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));