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:
parent
1b7949432f
commit
d3d803cdb0
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue