Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def get_core_numa_mapping(core_count):
numa_mapping = {}
lines = output.split('\n')
for line in lines:
if 'node ' in line and 'cpus' in line:
if 'node ' in line and 'cpus' in line and not line.strip().endswith('cpus:'):
current_numa_domain = int(re.search(r'node (\d+)', line).group(1))
Comment thread
abuccts marked this conversation as resolved.
if ':' in line:
cpus_str = line.split(': ')[1].split()
Expand Down
Loading