performance: update igc indirect detection version

Update required indirect detection versions to 9 for pvc vector compiler
and non-pvc non-vector compiler.

Related-To: NEO-12491

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2025-01-07 12:00:20 +00:00
committed by Compute-Runtime-Automation
parent 4111821c86
commit 8d4721d613
4 changed files with 11 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2024 Intel Corporation
* Copyright (C) 2024-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -13,8 +13,8 @@ namespace NEO {
namespace IndirectDetectionVersions {
constexpr uint32_t disabled = std::numeric_limits<uint32_t>::max();
constexpr uint32_t requiredDetectIndirectVersionPVC = 3u;
constexpr uint32_t requiredDetectIndirectVersionPVCVectorCompiler = disabled;
constexpr uint32_t requiredDetectIndirectVersionBindless = 4u;
constexpr uint32_t requiredDetectIndirectVersionPVCVectorCompiler = 9u;
constexpr uint32_t requiredDetectIndirectVersion = 9u;
constexpr uint32_t requiredDetectIndirectVersionVectorCompiler = 6u;
} // namespace IndirectDetectionVersions
} // namespace NEO

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2024 Intel Corporation
* Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -119,7 +119,7 @@ bool ProductHelperHw<gfxProduct>::isDetectIndirectAccessInKernelSupported(const
template <PRODUCT_FAMILY gfxProduct>
uint32_t ProductHelperHw<gfxProduct>::getRequiredDetectIndirectVersion() const {
return IndirectDetectionVersions::disabled;
return IndirectDetectionVersions::requiredDetectIndirectVersion;
}
template <PRODUCT_FAMILY gfxProduct>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022-2024 Intel Corporation
* Copyright (C) 2022-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -1095,6 +1095,6 @@ HWTEST2_F(ProductHelperTest, givenProductHelperWhenQuery2DBlockStoreThenReturnTr
}
HWTEST2_F(ProductHelperTest, givenProductHelperWhenGetRequiredDetectIndirectVersionCalledThenReturnCorrectVersion, IsNotPVC) {
EXPECT_EQ(IndirectDetectionVersions::disabled, productHelper->getRequiredDetectIndirectVersion());
EXPECT_EQ(IndirectDetectionVersions::requiredDetectIndirectVersionVectorCompiler, productHelper->getRequiredDetectIndirectVersionVC());
EXPECT_EQ(9u, productHelper->getRequiredDetectIndirectVersion());
EXPECT_EQ(6u, productHelper->getRequiredDetectIndirectVersionVC());
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022-2024 Intel Corporation
* Copyright (C) 2022-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -295,6 +295,6 @@ PVCTEST_F(PvcProductHelper, givenProductHelperWhenAskingForReadOnlyResourceSuppo
}
PVCTEST_F(PvcProductHelper, givenProductHelperWhenGetRequiredDetectIndirectVersionCalledThenReturnCorrectVersion) {
EXPECT_EQ(IndirectDetectionVersions::requiredDetectIndirectVersionPVC, productHelper->getRequiredDetectIndirectVersion());
EXPECT_EQ(IndirectDetectionVersions::requiredDetectIndirectVersionPVCVectorCompiler, productHelper->getRequiredDetectIndirectVersionVC());
EXPECT_EQ(3u, productHelper->getRequiredDetectIndirectVersion());
EXPECT_EQ(9u, productHelper->getRequiredDetectIndirectVersionVC());
}