Le 07/07/2017 21:51, David Solt a écrit :
> Oh, Geoff Paulsen will be there at Open MPI meeting and he can help
> with the discussion.   We tried searching for
>
>   // Iterate over each osdevice and identify the GPU's on each socket.
>   while ((obj = hwloc_get_next_osdev(machine_topology, obj)) != NULL) {
>     if (HWLOC_OBJ_OSDEV_COPROC == obj->attr->osdev.type) {   // was
> HWLOC_OBJ_OSDEV_GPU
>
> Currently we are not finding any such devices.   Does this require
> that the cuda libraries be installed on the system for hwloc to find
> the hardware?

Yes. We use the cuda API for listing these objects.
Brice

_______________________________________________
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users

Reply via email to