File tree Expand file tree Collapse file tree 4 files changed +46
-0
lines changed Expand file tree Collapse file tree 4 files changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,15 @@ Group0:1.Group2:2 Group0:1.Group2:3
76
76
# Number of objects at depth 3 in a NUMA Node
77
77
16
78
78
79
+ # Number of MCDRAM subtype NUMA Nodes
80
+ 4
81
+
82
+ # List of MCDRAM subtype NUMA Nodes near 2 L3
83
+ 3,5
84
+
85
+ # Hierarchical list of MCDRAM subtype NUMA nodes within Package
86
+ Package:0.NUMANode:1 Package:0.NUMANode:7
87
+
79
88
# List of Machine objects
80
89
0
81
90
Original file line number Diff line number Diff line change @@ -120,6 +120,15 @@ set -e
120
120
echo " # Number of objects at depth 3 in a NUMA Node"
121
121
$calc --if synthetic --input " node:4 core:4 pu:4" node:2 -N 3
122
122
echo
123
+ echo " # Number of MCDRAM subtype NUMA Nodes"
124
+ $calc --if xml --input $xmldir /64intel64-fakeKNL-SNC4-hybrid.xml -N ' numa[mcdram]' all
125
+ echo
126
+ echo " # List of MCDRAM subtype NUMA Nodes near 2 L3"
127
+ $calc --if xml --input $xmldir /64intel64-fakeKNL-SNC4-hybrid.xml -I ' numa[mcdram]' l3:1-2
128
+ echo
129
+ echo " # Hierarchical list of MCDRAM subtype NUMA nodes within Package"
130
+ $calc --if xml --input $xmldir /64intel64-fakeKNL-SNC4-hybrid.xml -H ' pack.numa[mcdram]' ' numa[mcdram]:0' ' numa[mcdram]:3'
131
+ echo
123
132
124
133
echo " # List of Machine objects"
125
134
$calc --if synthetic --input " node:4 core:4 pu:4" root --intersect Machine
Original file line number Diff line number Diff line change @@ -504,6 +504,22 @@ NUMANode:10
504
504
NUMANode:11
505
505
506
506
507
+ # MCDRAM subtype NUMA filter
508
+ NUMANode:3
509
+ NUMANode:5
510
+
511
+ # NVML subtype OSdev type filter
512
+ OSDev[Co-Processor,GPU]:2
513
+ OSDev[Co-Processor,GPU]:5
514
+ OSDev[Co-Processor,GPU]:8
515
+ OSDev[Co-Processor,GPU]:11
516
+
517
+ # GPU OSdev type filter
518
+ OSDev[Co-Processor,GPU]:3
519
+ OSDev[Co-Processor,GPU]:4
520
+ OSDev[Co-Processor,GPU]:5
521
+
522
+
507
523
# cpukinds for the entire machine
508
524
Machine L#0
509
525
type = Machine
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ srcdir="$HWLOC_top_srcdir/utils/hwloc"
15
15
builddir=" $HWLOC_top_builddir /utils/hwloc"
16
16
info=" $builddir /hwloc-info"
17
17
linuxdir=" $HWLOC_top_srcdir /tests/hwloc/linux"
18
+ xmldir=" $HWLOC_top_srcdir /tests/hwloc/xml"
18
19
19
20
HWLOC_PLUGINS_PATH=${HWLOC_top_builddir} /hwloc/.libs
20
21
export HWLOC_PLUGINS_PATH
@@ -119,6 +120,17 @@ set -e
119
120
$info --if synthetic --input " pack:4 [numa(memory=1000000)] l3:2 [numa(memory=1000)] core:4 pu:2" --local-memory-flags larger --best-memattr capacity -s pu:63
120
121
echo
121
122
123
+ echo
124
+ echo " # MCDRAM subtype NUMA filter"
125
+ $info --if xml --input $xmldir /64intel64-fakeKNL-SNC4-hybrid.xml -s ' numa[mcdram]:1-2'
126
+ echo
127
+ echo " # NVML subtype OSdev type filter"
128
+ $info --if xml --input $xmldir /power8gpudistances.xml -s ' os[nvml]:all'
129
+ echo
130
+ echo " # GPU OSdev type filter"
131
+ $info --if xml --input $xmldir /power8gpudistances.xml -s ' os[gpu]:3-5'
132
+ echo
133
+
122
134
echo
123
135
echo " # cpukinds for the entire machine"
124
136
$info --if xml --input $linuxdir /fakeheterocpunuma.xml all
You can’t perform that action at this time.
0 commit comments