Skip to content

Commit 4630002

Browse files
committed
lstopo/draw: fix the displaying of non-HBM L0 device memory
Signed-off-by: Brice Goglin <[email protected]>
1 parent e135669 commit 4630002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/lstopo/lstopo-draw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1328,7 +1328,7 @@ prepare_text(struct lstopo_output *loutput, hwloc_obj_t obj)
13281328
if (valueMem) {
13291329
unsigned long long mb = strtoull(valueMem, NULL, 10) / 1024;
13301330
snprintf(lud->text[lud->ntext++].text, sizeof(lud->text[0].text),
1331-
mb >= 10240 ? "%llu GB HBM" : "%llu MB",
1331+
mb >= 10240 ? "%llu GB" : "%llu MB",
13321332
mb >= 10240 ? mb/1024 : mb);
13331333
}
13341334
valueSl = hwloc_obj_get_info_by_name(obj, "LevelZeroNumSlices");

0 commit comments

Comments
 (0)