diff --git a/shared/offline_compiler/source/CMakeLists.txt b/shared/offline_compiler/source/CMakeLists.txt index 579224ee0e..f9b182d6d7 100644 --- a/shared/offline_compiler/source/CMakeLists.txt +++ b/shared/offline_compiler/source/CMakeLists.txt @@ -40,7 +40,6 @@ set(CLOC_LIB_SRCS_LIB ${NEO_SHARED_DIRECTORY}/helpers/file_io.cpp ${NEO_SHARED_DIRECTORY}/helpers/hw_info.cpp ${NEO_SHARED_DIRECTORY}/helpers/hw_info.h - ${NEO_SHARED_DIRECTORY}/helpers${BRANCH_DIR_SUFFIX}hw_info_extended.cpp ${NEO_SHARED_DIRECTORY}/kernel${BRANCH_DIR_SUFFIX}kernel_descriptor.cpp ${NEO_SHARED_DIRECTORY}/kernel${BRANCH_DIR_SUFFIX}kernel_descriptor.h ${NEO_SHARED_DIRECTORY}/os_interface/os_library.h diff --git a/shared/offline_compiler/source/offline_compiler.cpp b/shared/offline_compiler/source/offline_compiler.cpp index 1478010ace..01dfd65897 100644 --- a/shared/offline_compiler/source/offline_compiler.cpp +++ b/shared/offline_compiler/source/offline_compiler.cpp @@ -339,7 +339,6 @@ int OfflineCompiler::initHardwareInfo(std::string deviceName) { return retVal; } - overridePlatformName(deviceName); std::transform(deviceName.begin(), deviceName.end(), deviceName.begin(), ::tolower); const char hexPrefix = 2; std::string product(""); diff --git a/shared/source/helpers/CMakeLists.txt b/shared/source/helpers/CMakeLists.txt index dd0a94da8e..fed9bbd9f2 100644 --- a/shared/source/helpers/CMakeLists.txt +++ b/shared/source/helpers/CMakeLists.txt @@ -73,7 +73,6 @@ set(NEO_CORE_HELPERS ${CMAKE_CURRENT_SOURCE_DIR}/hw_helper_tgllp_and_later.inl ${CMAKE_CURRENT_SOURCE_DIR}/hw_info.cpp ${CMAKE_CURRENT_SOURCE_DIR}/hw_info.h - ${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}hw_info_extended.cpp ${CMAKE_CURRENT_SOURCE_DIR}/hw_walk_order.h ${CMAKE_CURRENT_SOURCE_DIR}/interlocked_max.h ${CMAKE_CURRENT_SOURCE_DIR}/kernel_helpers.cpp diff --git a/shared/source/helpers/hw_info.cpp b/shared/source/helpers/hw_info.cpp index 1180155494..227d9b74d2 100644 --- a/shared/source/helpers/hw_info.cpp +++ b/shared/source/helpers/hw_info.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2018-2021 Intel Corporation + * Copyright (C) 2018-2022 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -47,8 +47,6 @@ void (*hardwareInfoSetup[IGFX_MAX_PRODUCT])(HardwareInfo *, bool, uint64_t) = { bool getHwInfoForPlatformString(std::string &platform, const HardwareInfo *&hwInfoIn) { std::transform(platform.begin(), platform.end(), platform.begin(), ::tolower); - overridePlatformName(platform); - bool ret = false; for (int j = 0; j < IGFX_MAX_PRODUCT; j++) { if (hardwarePrefix[j] == nullptr) diff --git a/shared/source/helpers/hw_info.h b/shared/source/helpers/hw_info.h index 92c4734e1e..9ef264cda4 100644 --- a/shared/source/helpers/hw_info.h +++ b/shared/source/helpers/hw_info.h @@ -175,7 +175,6 @@ struct EnableGfxFamilyHw { bool getHwInfoForPlatformString(std::string &platform, const HardwareInfo *&hwInfoIn); void setHwInfoValuesFromConfig(const uint64_t hwInfoConfig, HardwareInfo &hwInfoIn); bool parseHwInfoConfigString(const std::string &hwInfoConfigStr, uint64_t &hwInfoConfig); -void overridePlatformName(std::string &name); aub_stream::EngineType getChosenEngineType(const HardwareInfo &hwInfo); const std::string getFamilyNameWithType(const HardwareInfo &hwInfo); diff --git a/shared/source/helpers/hw_info_extended.cpp b/shared/source/helpers/hw_info_extended.cpp deleted file mode 100644 index 106bd6ae02..0000000000 --- a/shared/source/helpers/hw_info_extended.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright (C) 2021 Intel Corporation - * - * SPDX-License-Identifier: MIT - * - */ - -#include "shared/source/helpers/hw_info.h" - -namespace NEO { - -void overridePlatformName(std::string &name) { -} - -} // namespace NEO