Skip to content

Commit 473769c

Browse files
committed
howto_topology update (N1 gpunode)
1 parent 4ec3774 commit 473769c

File tree

2 files changed

+124
-62
lines changed

2 files changed

+124
-62
lines changed

docs/src/howtos/howto_topology.jl

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,17 @@ cpuinfo = LIKWID.get_cpu_info()
1515

1616
# Query information about NUMA nodes:
1717
numa = LIKWID.get_numa_topology()
18-
numa.nodes
18+
19+
#
1920
numa_node = first(numa.nodes)
2021

2122
# ## Graphical output
2223
# Currently, LIKWID.jl doesn't feature a native graphical visualization of the CPU topology. However, it provides a small "wrapper function" around `likwid-topology -g` which should give you an output like this:
2324
LIKWID.print_cpu_topology()
2425

25-
#src ## GPU
26-
#src
27-
#src Query GPU topology information:
28-
#src topo = LIKWID.get_gpu_topology()
29-
#src topo.devices
30-
#src gpu = first(topo.devices)
26+
# ## GPU
27+
# Query GPU topology information:
28+
topo = LIKWID.get_gpu_topology()
29+
30+
#
31+
gpu = first(topo.devices)

0 commit comments

Comments
 (0)