Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions reframe/schemas/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@
"type": "object",
"properties": {
"arch": {"type": "string"},
"vendor": {"type": "string"},
"model": {"type": "string"},
"num_cpus": {"type": "number"},
"num_cpus_per_core": {"type": "number"},
"num_cpus_per_socket": {"type": "number"},
Expand Down
5 changes: 4 additions & 1 deletion reframe/utility/cpuinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,10 @@ def _sysctl_topo():

def cpuinfo():
ret = {
'arch': archspec.cpu.host().name
'arch': archspec.cpu.host().name,
'vendor': archspec.cpu.host().vendor,
'model': archspec.cpu.detect.raw_info_dictionary().get('model name',
'N/A')
}

# Try first to get information from the filesystem
Expand Down