Skip to content

Commit

Permalink
Added comment explaining CHPL_HWLOC_PCI
Browse files Browse the repository at this point in the history
Signed-off-by: John H. Hartman <[email protected]>
  • Loading branch information
jhh67 committed Aug 29, 2024
1 parent 1fd36ea commit 3723625
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions util/chplenv/chpl_hwloc_pci.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
#!/usr/bin/env python3

# Implements the CHPL_HWLOC_PCI variable, which controls whether or not the
# bundled hwloc is compiled with PCI discovery enabled. PCI discovery is
# necessary for partitioning PCI devices such as NICs and GPUs among
# co-locales and is therefore enabled when CHPL_COMM != none, or when
# CHPL_LOCALE_MODEL == gpu and CHPL_GPU != cpu. Otherwise it's disabled
# because it introduces an unnecessary dependency on the pciaccess library,
# and PCI discovery has the potential to slow down startup time.

import sys

import chpl_hwloc, chpl_comm, chpl_locale_model, chpl_gpu
Expand Down

0 comments on commit 3723625

Please sign in to comment.