mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 10:26:29 +08:00
Rename core family names to meet naming convention
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c200c6e2dd
commit
8424b27754
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
using Family = ICLFamily;
|
||||
using Family = Gen11Family;
|
||||
|
||||
struct EnableL0Gen11 {
|
||||
EnableL0Gen11() {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
namespace L0 {
|
||||
|
||||
using Family = NEO::ICLFamily;
|
||||
using Family = NEO::Gen11Family;
|
||||
static auto gfxCore = IGFX_GEN11_CORE;
|
||||
|
||||
template <>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
using Family = TGLLPFamily;
|
||||
using Family = Gen12LpFamily;
|
||||
|
||||
struct EnableL0Gen12LP {
|
||||
EnableL0Gen12LP() {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
namespace L0 {
|
||||
|
||||
using Family = NEO::TGLLPFamily;
|
||||
using Family = NEO::Gen12LpFamily;
|
||||
static auto gfxCore = IGFX_GEN12LP_CORE;
|
||||
|
||||
template <>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
using Family = BDWFamily;
|
||||
using Family = Gen8Family;
|
||||
|
||||
struct EnableL0Gen8 {
|
||||
EnableL0Gen8() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
using Family = SKLFamily;
|
||||
using Family = Gen9Family;
|
||||
|
||||
struct EnableL0Gen9 {
|
||||
EnableL0Gen9() {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
namespace L0 {
|
||||
|
||||
using Family = NEO::SKLFamily;
|
||||
using Family = NEO::Gen9Family;
|
||||
static auto gfxCore = IGFX_GEN9_CORE;
|
||||
|
||||
template <>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
using Family = XE_HPC_COREFamily;
|
||||
using Family = XeHpcCoreFamily;
|
||||
|
||||
struct EnableL0XeHpcCore {
|
||||
EnableL0XeHpcCore() {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
namespace L0 {
|
||||
|
||||
using Family = NEO::XE_HPC_COREFamily;
|
||||
using Family = NEO::XeHpcCoreFamily;
|
||||
static auto gfxCore = IGFX_XE_HPC_CORE;
|
||||
|
||||
template <>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
using Family = XE_HPG_COREFamily;
|
||||
using Family = XeHpgCoreFamily;
|
||||
|
||||
struct EnableL0XeHpgCore {
|
||||
EnableL0XeHpgCore() {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
namespace L0 {
|
||||
|
||||
using Family = NEO::XE_HPG_COREFamily;
|
||||
using Family = NEO::XeHpgCoreFamily;
|
||||
static auto gfxCore = IGFX_XE_HPG_CORE;
|
||||
|
||||
template <>
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
struct ICLFamily;
|
||||
using GfxFamily = ICLFamily;
|
||||
struct Gen11Family;
|
||||
using GfxFamily = Gen11Family;
|
||||
} // namespace NEO
|
||||
|
||||
namespace L0 {
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
struct TGLLPFamily;
|
||||
using GfxFamily = TGLLPFamily;
|
||||
struct Gen12LpFamily;
|
||||
using GfxFamily = Gen12LpFamily;
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
#include "shared/test/unit_test/mocks/mock_l0_debugger.h"
|
||||
|
||||
namespace NEO {
|
||||
struct SKLFamily;
|
||||
using GfxFamily = SKLFamily;
|
||||
struct Gen9Family;
|
||||
using GfxFamily = Gen9Family;
|
||||
} // namespace NEO
|
||||
|
||||
namespace L0 {
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
#include "shared/test/unit_test/mocks/mock_l0_debugger.h"
|
||||
|
||||
namespace NEO {
|
||||
struct XE_HPC_COREFamily;
|
||||
using GfxFamily = XE_HPC_COREFamily;
|
||||
struct XeHpcCoreFamily;
|
||||
using GfxFamily = XeHpcCoreFamily;
|
||||
} // namespace NEO
|
||||
|
||||
namespace L0 {
|
||||
|
||||
@@ -29,7 +29,7 @@ void DeviceFixtureXeHpcTests::checkIfCallingGetMemoryPropertiesWithNonNullPtrThe
|
||||
}
|
||||
|
||||
void CommandListStatePrefetchXeHpcCore::checkIfDebugFlagSetWhenPrefetchApiCalledAThenStatePrefetchProgrammed(HardwareInfo *hwInfo) {
|
||||
using STATE_PREFETCH = typename XE_HPC_COREFamily::STATE_PREFETCH;
|
||||
using STATE_PREFETCH = typename XeHpcCoreFamily::STATE_PREFETCH;
|
||||
DebugManagerStateRestore restore;
|
||||
auto pCommandList = std::make_unique<WhiteBox<::L0::CommandListCoreFamily<IGFX_XE_HPC_CORE>>>();
|
||||
auto result = pCommandList->initialize(device, NEO::EngineGroupType::Compute, 0u);
|
||||
@@ -76,8 +76,8 @@ void CommandListStatePrefetchXeHpcCore::checkIfDebugFlagSetWhenPrefetchApiCalled
|
||||
}
|
||||
|
||||
void CommandListStatePrefetchXeHpcCore::checkIfCommandBufferIsExhaustedWhenPrefetchApiCalledThenStatePrefetchProgrammed(HardwareInfo *hwInfo) {
|
||||
using STATE_PREFETCH = typename XE_HPC_COREFamily::STATE_PREFETCH;
|
||||
using MI_BATCH_BUFFER_END = typename XE_HPC_COREFamily::MI_BATCH_BUFFER_END;
|
||||
using STATE_PREFETCH = typename XeHpcCoreFamily::STATE_PREFETCH;
|
||||
using MI_BATCH_BUFFER_END = typename XeHpcCoreFamily::MI_BATCH_BUFFER_END;
|
||||
|
||||
DebugManagerStateRestore restore;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace ult {
|
||||
using SamplerCreateTest = Test<DeviceFixture>;
|
||||
|
||||
HWTEST2_F(SamplerCreateTest, givenDg2WhenInitializeSamplerAndForceSamplerLowFilteringPrecisionIsFalseThenLowQualityFilterIsDisabled, IsDG2) {
|
||||
using SAMPLER_STATE = typename NEO::XE_HPG_COREFamily::SAMPLER_STATE;
|
||||
using SAMPLER_STATE = typename NEO::XeHpgCoreFamily::SAMPLER_STATE;
|
||||
EXPECT_FALSE(DebugManager.flags.ForceSamplerLowFilteringPrecision.get());
|
||||
ze_sampler_address_mode_t addressMode = ZE_SAMPLER_ADDRESS_MODE_REPEAT;
|
||||
ze_sampler_filter_mode_t filterMode = ZE_SAMPLER_FILTER_MODE_NEAREST;
|
||||
@@ -38,7 +38,7 @@ HWTEST2_F(SamplerCreateTest, givenDg2WhenInitializeSamplerAndForceSamplerLowFilt
|
||||
}
|
||||
|
||||
HWTEST2_F(SamplerCreateTest, givenDg2WhenInitializeSamplerAndForceSamplerLowFilteringPrecisionIsTrueThenLowQualityFilterIsEnabled, IsDG2) {
|
||||
using SAMPLER_STATE = typename NEO::XE_HPG_COREFamily::SAMPLER_STATE;
|
||||
using SAMPLER_STATE = typename NEO::XeHpgCoreFamily::SAMPLER_STATE;
|
||||
DebugManagerStateRestore dbgRestore;
|
||||
DebugManager.flags.ForceSamplerLowFilteringPrecision.set(true);
|
||||
EXPECT_TRUE(DebugManager.flags.ForceSamplerLowFilteringPrecision.get());
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
#include "shared/test/unit_test/mocks/mock_l0_debugger.h"
|
||||
|
||||
namespace NEO {
|
||||
struct XE_HPG_COREFamily;
|
||||
using GfxFamily = XE_HPG_COREFamily;
|
||||
struct XeHpgCoreFamily;
|
||||
using GfxFamily = XeHpgCoreFamily;
|
||||
} // namespace NEO
|
||||
|
||||
namespace L0 {
|
||||
|
||||
Reference in New Issue
Block a user