OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[CPU] support E3950 on Linux (#30803)
Wanglei Shena5f42b2658f1
diff --git a/src/inference/src/os/lin/lin_system_conf.cpp b/src/inference/src/os/lin/lin_system_conf.cppindex c6baba3c0ab..2d301acc8de 100644--- a/src/inference/src/os/lin/lin_system_conf.cpp+++ b/src/inference/src/os/lin/lin_system_conf.cpp@@ -547,7 +547,8 @@ void parse_cache_info_linux(const std::vector<std::vector<std::string>> system_isub_str = system_info_table[n][info_index].substr(endpos + 1);core_2 = std::stoi(sub_str);- if ((info_index == 1) && (core_2 - core_1 == 1)) {+ if ((info_index == 1) && (core_2 - core_1 == 1) &&+ (_proc_type_table[0][EFFICIENT_CORE_PROC] > 0)) {offline_list.push_back(n);break;}diff --git a/src/inference/tests/unit/cpu_map_parser/cache_parser_linux.cpp b/src/inference/tests/unit/cpu_map_parser/cache_parser_linux.cppindex 98ff00132dd..e09d3dfe3b0 100644--- a/src/inference/tests/unit/cpu_map_parser/cache_parser_linux.cpp+++ b/src/inference/tests/unit/cpu_map_parser/cache_parser_linux.cpp@@ -1570,6 +1570,28 @@ LinuxCpuMapTestCase cache_1sockets_4cores_1 = {},{},};+LinuxCpuMapTestCase cache_1sockets_4cores_2 = {+ 4,+ 1,+ 1,+ 4,+ {{4, 4, 0, 0, 0, 0, 0}},+ {+ {0, 0, 0, 0, MAIN_CORE_PROC, 0, -1},+ {1, 0, 0, 1, MAIN_CORE_PROC, 0, -1},+ {2, 0, 0, 2, MAIN_CORE_PROC, 1, -1},+ {3, 0, 0, 3, MAIN_CORE_PROC, 1, -1},+ },+ {+ {{"0"}, {"0-1"}, {""}},+ {{"1"}, {"0-1"}, {""}},+ {{"2"}, {"2-3"}, {""}},+ {{"3"}, {"2-3"}, {""}},+ },+ {+ {"0-3"},+ },+};LinuxCpuMapTestCase cache_VM_cache_0 = {0,0,@@ -1621,6 +1643,7 @@ INSTANTIATE_TEST_SUITE_P(CPUMap,cache_1sockets_6cores_hyperthreading,cache_1sockets_4cores,cache_1sockets_4cores_1,+ cache_1sockets_4cores_2,cache_VM_cache_0));TEST_P(LinuxGetCpuMapFromCoresTests, LinuxCore) {}