Enable Implicit Scaling on Level Zero

* This commits enables by default implicit scaling, but only on PVC B step
* Users can disable this feature by debug flag EnableImplicitScaling=0|

Related-To: NEO-6589

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz 2022-01-18 13:36:57 +00:00 committed by Compute-Runtime-Automation
parent 1b7949432f
commit d3d803cdb0
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2021 Intel Corporation
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@ -9,6 +9,6 @@
namespace NEO {
namespace ImplicitScaling {
bool apiSupport = false;
bool apiSupport = true;
} // namespace ImplicitScaling
} // namespace NEO

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2021 Intel Corporation
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@ -37,7 +37,7 @@ TEST(ApiSpecificConfigL0Tests, givenMaxAllocSizeWhenGettingReducedMaxAllocSizeTh
TEST(ApiSpecificConfigL0Tests, WhenGettingRegistryPathThenL0RegistryPathIsReturned) {
EXPECT_STREQ(L0::registryPath, ApiSpecificConfig::getRegistryPath());
}
TEST(ImplicitScalingApiTests, givenLevelZeroApiUsedThenSupportDisabled) {
EXPECT_FALSE(ImplicitScaling::apiSupport);
TEST(ImplicitScalingApiTests, givenLevelZeroApiUsedThenSupportEnabled) {
EXPECT_TRUE(ImplicitScaling::apiSupport);
}
} // namespace NEO