From 6d2c6df99479201dda8a3d9812557aa9c4977e35 Mon Sep 17 00:00:00 2001 From: Compute-Runtime-Validation Date: Mon, 2 Jan 2023 12:46:49 +0100 Subject: [PATCH] Revert "ocl(feature): dg2, enable buffer pool allocator" This reverts commit 20ccf3063b1ab97a848b05ad9ecf629298966d95. Signed-off-by: Compute-Runtime-Validation --- .../unit_test/xe_hpg_core/dg2/buffer_pool_alloc_tests_dg2.cpp | 4 ++-- .../source/xe_hpg_core/dg2/os_agnostic_hw_info_config_dg2.inl | 4 ++-- .../unit_test/xe_hpg_core/dg2/hw_info_config_tests_dg2.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/opencl/test/unit_test/xe_hpg_core/dg2/buffer_pool_alloc_tests_dg2.cpp b/opencl/test/unit_test/xe_hpg_core/dg2/buffer_pool_alloc_tests_dg2.cpp index 1a164c7777..2e7f33f453 100644 --- a/opencl/test/unit_test/xe_hpg_core/dg2/buffer_pool_alloc_tests_dg2.cpp +++ b/opencl/test/unit_test/xe_hpg_core/dg2/buffer_pool_alloc_tests_dg2.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 Intel Corporation + * Copyright (C) 2022-2023 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -36,7 +36,7 @@ DG2TEST_F(AggregatedSmallBuffersDg2DefaultTest, givenDifferentFlagValuesAndSingl // Single device context { DebugManager.flags.ExperimentalSmallBufferPoolAllocator.set(-1); - EXPECT_TRUE(pContext->getBufferPoolAllocator().isAggregatedSmallBuffersEnabled(pContext)); + EXPECT_FALSE(pContext->getBufferPoolAllocator().isAggregatedSmallBuffersEnabled(pContext)); } { DebugManager.flags.ExperimentalSmallBufferPoolAllocator.set(0); diff --git a/shared/source/xe_hpg_core/dg2/os_agnostic_hw_info_config_dg2.inl b/shared/source/xe_hpg_core/dg2/os_agnostic_hw_info_config_dg2.inl index 7d9f0422e8..38c6290624 100644 --- a/shared/source/xe_hpg_core/dg2/os_agnostic_hw_info_config_dg2.inl +++ b/shared/source/xe_hpg_core/dg2/os_agnostic_hw_info_config_dg2.inl @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021-2022 Intel Corporation + * Copyright (C) 2021-2023 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -218,7 +218,7 @@ bool ProductHelperHw::isResolveDependenciesByPipeControlsSupported(c template <> bool ProductHelperHw::isBufferPoolAllocatorSupported() const { - return true; + return false; } template <> diff --git a/shared/test/unit_test/xe_hpg_core/dg2/hw_info_config_tests_dg2.cpp b/shared/test/unit_test/xe_hpg_core/dg2/hw_info_config_tests_dg2.cpp index e51c2a547c..4f3e0831e4 100644 --- a/shared/test/unit_test/xe_hpg_core/dg2/hw_info_config_tests_dg2.cpp +++ b/shared/test/unit_test/xe_hpg_core/dg2/hw_info_config_tests_dg2.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021-2022 Intel Corporation + * Copyright (C) 2021-2023 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -572,5 +572,5 @@ DG2TEST_F(ProductHelperTestDg2, givenDebugFlagWhenCheckingIsResolveDependenciesB DG2TEST_F(ProductHelperTestDg2, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned) { auto productHelper = ProductHelper::get(defaultHwInfo->platform.eProductFamily); - EXPECT_TRUE(productHelper->isBufferPoolAllocatorSupported()); + EXPECT_FALSE(productHelper->isBufferPoolAllocatorSupported()); }