Skip to content

Commit

Permalink
levelzero: fix subdevice info properties
Browse files Browse the repository at this point in the history
Thanks to Jonathan Peyton for the fix.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
  • Loading branch information
bgoglin committed Jul 19, 2022
1 parent f9987ac commit 1f0283e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hwloc/topology-levelzero.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ hwloc_levelzero_discover(struct hwloc_backend *backend, struct hwloc_disc_status
snprintf(tmp, sizeof(tmp), "%u", k);
hwloc_obj_add_info(subosdevs[k], "LevelZeroSubdeviceID", tmp);

hwloc__levelzero_properties_get(subh[j], subosdevs[k], sysman_maybe_missing, NULL);
hwloc__levelzero_properties_get(subh[k], subosdevs[k], sysman_maybe_missing, NULL);

hwloc__levelzero_cqprops_get(subh[k], subosdevs[k]);
}
Expand Down

0 comments on commit 1f0283e

Please sign in to comment.