Skip to content

Commit 4708458

Browse files
committed
Fix a typo in parsing locality string: L0 changed to L1
(`prte_hwloc_base_get_locality_string` never returns locality string with L0). Signed-off-by: Mikhail Kurnosov <mkurnosov@gmail.com>
1 parent 9a0f661 commit 4708458

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opal/mca/hwloc/base/hwloc_base_util.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@ char* opal_hwloc_base_get_location(char *locality,
13251325
} else if (2 == index) {
13261326
srch = "L2";
13271327
} else {
1328-
srch = "L0";
1328+
srch = "L1";
13291329
}
13301330
break;
13311331
#else
@@ -1336,7 +1336,7 @@ char* opal_hwloc_base_get_location(char *locality,
13361336
srch = "L2";
13371337
break;
13381338
case HWLOC_OBJ_L1CACHE:
1339-
srch = "L0";
1339+
srch = "L1";
13401340
break;
13411341
#endif
13421342
case HWLOC_OBJ_CORE:

0 commit comments

Comments
 (0)