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?

It would be a matter of dropping the "continue;" lines.

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

Reply via email to