:orphan: Gallery ======= This directory contains examples for using the ``pyhwloc`` package. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_membind_thumb.png :alt: :ref:`sphx_glr_examples_membind.py` .. raw:: html
Example of using membind
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_list_gpus_thumb.png :alt: :ref:`sphx_glr_examples_list_gpus.py` .. raw:: html
Simple script for listing GPU devices
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_intro_thumb.png :alt: :ref:`sphx_glr_examples_intro.py` .. raw:: html
High-level API Example
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_gds_hops_thumb.png :alt: :ref:`sphx_glr_examples_gds_hops.py` .. raw:: html
Count the number of hops between PCI storage and GPUs
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_intro_low_level_thumb.png :alt: :ref:`sphx_glr_examples_intro_low_level.py` .. raw:: html
Low-level API Example
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /examples/membind /examples/list_gpus /examples/intro /examples/gds_hops /examples/intro_low_level .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_