-
Notifications
You must be signed in to change notification settings - Fork 2.6k
[CPU] support E3950 on Linux #30803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[CPU] support E3950 on Linux #30803
Conversation
@@ -547,7 +547,8 @@ void parse_cache_info_linux(const std::vector<std::vector<std::string>> system_i | |||
sub_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) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to add some unit test which catch this core-dump issue on E3950?
OR updated test LinuxCpuMapCacheParserTests
will cover it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New test case for E3950 had been added in LinuxCpuMapCacheParserTests
Details:
Tickets: