conda-forge / libhwloc-feedstock

A conda-smithy repository for libhwloc.
BSD 3-Clause "New" or "Revised" License
0 stars 9 forks source link

Add CUDA support to build #43

Closed kkraus14 closed 1 year ago

kkraus14 commented 1 year ago

Comment:

hwloc has CUDA support via both cudart and NVML and then can dynamically use them at build time. It would be nice to enable them in the build.

jan-janssen commented 1 year ago

This would really help a lot.

jan-janssen commented 1 year ago

I tried fixing this issue in https://github.com/conda-forge/libhwloc-feedstock/pull/46

jan-janssen commented 1 year ago

I did a couple of tests and so far everything seems to work like it should - libhwloc is recognizing the GPUs. The only thing left to change is the naming of the packages, this is done in https://github.com/conda-forge/libhwloc-feedstock/pull/53 . The new names are going to be libhwloc==2.9.1=cuda110_hdcc1471_4 following the pytorch naming scheme.