Re: [hwloc-devel] No opencl osdev for NVidia GPU devices
Brice Goglin, on lun. 08 janv. 2018 15:41:02 +0100, wrote: > Do we want to see OpenCL CPU devices too? I believe we don't want them. Samuel ___ hwloc-devel mailing list hwloc-devel@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/hwloc-devel
Re: [hwloc-devel] No opencl osdev for NVidia GPU devices
Le 27/09/2017 à 20:39, Brice Goglin a écrit : > > 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. > I think I have fixed everything needed to make this work in my opencl branch. https://github.com/open-mpi/hwloc/pull/266 Do we want to see OpenCL CPU devices too? Something like this attached to the root (even on dual-socket machines): Co-Processor(OpenCL) L#7 (Backend=OpenCL OpenCLDeviceType=CPU GPUVendor=GenuineIntel GPUModel="Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz" OpenCLPlatformIndex=0 OpenCLPlatformName="AMD Accelerated Parallel Processing" OpenCLPlatformDeviceIndex=2 OpenCLComputeUnits=32 OpenCLGlobalMemorySize=32869688) "opencl0d2" Brice ___ hwloc-devel mailing list hwloc-devel@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/hwloc-devel
Re: [hwloc-devel] No opencl osdev for NVidia GPU devices
Brice Goglin, on mer. 27 sept. 2017 20:39:47 +0200, wrote: > Le 27/09/2017 18:58, Samuel Thibault a écrit : > > 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. Well, some people were surprised not to see OpenCL devices while compilation found the support for it etc. People will perhaps be surprised that there is no topology information for them, but I find that less surprising. Samuel ___ hwloc-devel mailing list hwloc-devel@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/hwloc-devel
Re: [hwloc-devel] No opencl osdev for NVidia GPU devices
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
[hwloc-devel] No opencl osdev for NVidia GPU devices
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