Skip to content

Commit 2484c68

Browse files
Remove overridePlatformName method
Signed-off-by: Bartosz Dunajski <[email protected]>
1 parent f9307bb commit 2484c68

File tree

6 files changed

+1
-22
lines changed

6 files changed

+1
-22
lines changed

shared/offline_compiler/source/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ set(CLOC_LIB_SRCS_LIB
4040
${NEO_SHARED_DIRECTORY}/helpers/file_io.cpp
4141
${NEO_SHARED_DIRECTORY}/helpers/hw_info.cpp
4242
${NEO_SHARED_DIRECTORY}/helpers/hw_info.h
43-
${NEO_SHARED_DIRECTORY}/helpers${BRANCH_DIR_SUFFIX}hw_info_extended.cpp
4443
${NEO_SHARED_DIRECTORY}/kernel${BRANCH_DIR_SUFFIX}kernel_descriptor.cpp
4544
${NEO_SHARED_DIRECTORY}/kernel${BRANCH_DIR_SUFFIX}kernel_descriptor.h
4645
${NEO_SHARED_DIRECTORY}/os_interface/os_library.h

shared/offline_compiler/source/offline_compiler.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,6 @@ int OfflineCompiler::initHardwareInfo(std::string deviceName) {
339339
return retVal;
340340
}
341341

342-
overridePlatformName(deviceName);
343342
std::transform(deviceName.begin(), deviceName.end(), deviceName.begin(), ::tolower);
344343
const char hexPrefix = 2;
345344
std::string product("");

shared/source/helpers/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ set(NEO_CORE_HELPERS
7373
${CMAKE_CURRENT_SOURCE_DIR}/hw_helper_tgllp_and_later.inl
7474
${CMAKE_CURRENT_SOURCE_DIR}/hw_info.cpp
7575
${CMAKE_CURRENT_SOURCE_DIR}/hw_info.h
76-
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}hw_info_extended.cpp
7776
${CMAKE_CURRENT_SOURCE_DIR}/hw_walk_order.h
7877
${CMAKE_CURRENT_SOURCE_DIR}/interlocked_max.h
7978
${CMAKE_CURRENT_SOURCE_DIR}/kernel_helpers.cpp

shared/source/helpers/hw_info.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2018-2021 Intel Corporation
2+
* Copyright (C) 2018-2022 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
@@ -47,8 +47,6 @@ void (*hardwareInfoSetup[IGFX_MAX_PRODUCT])(HardwareInfo *, bool, uint64_t) = {
4747
bool getHwInfoForPlatformString(std::string &platform, const HardwareInfo *&hwInfoIn) {
4848
std::transform(platform.begin(), platform.end(), platform.begin(), ::tolower);
4949

50-
overridePlatformName(platform);
51-
5250
bool ret = false;
5351
for (int j = 0; j < IGFX_MAX_PRODUCT; j++) {
5452
if (hardwarePrefix[j] == nullptr)

shared/source/helpers/hw_info.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ struct EnableGfxFamilyHw {
175175
bool getHwInfoForPlatformString(std::string &platform, const HardwareInfo *&hwInfoIn);
176176
void setHwInfoValuesFromConfig(const uint64_t hwInfoConfig, HardwareInfo &hwInfoIn);
177177
bool parseHwInfoConfigString(const std::string &hwInfoConfigStr, uint64_t &hwInfoConfig);
178-
void overridePlatformName(std::string &name);
179178
aub_stream::EngineType getChosenEngineType(const HardwareInfo &hwInfo);
180179
const std::string getFamilyNameWithType(const HardwareInfo &hwInfo);
181180

shared/source/helpers/hw_info_extended.cpp

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)