Le 27/09/2017 18:58, Samuel Thibault a écrit :
> Hello,
>
> On systems with NVidia GPU devices, opencl devices don't show up in
> lstopo. Running in debug mode shows that they are detected:
>
> 1 OpenCL platforms
> This is opencl0d0
>
> but then topology-opencl.c stops there and does not create an osdev
> object. AMD GPUs with non-PCIe device type are not reported either.
>
> I know that in these cases, we don't know where the GPUs are connected
> exactly, but we already have code coping with this:
>
> if (!parent)
>   parent = hwloc_get_root_obj(topology);
>
> Isn't it better to show OpenCL at the root rather then not at all?
>

As you want.
If there's a need for these objects without any topology information,
that's fine with me.

Brice

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

Reply via email to