Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] v1.7
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2013-01-07 11:32:29

Le 07/01/2013 14:35, Samuel Thibault a écrit :
> Brice Goglin, le Mon 31 Dec 2012 10:05:41 +0100, a écrit :
>> - They add OS devices such as opencl0p0,
> I see that platform 0 device 3 would be called opencl3p0. I find it
> counterintuitive, and would have rather called it opencl0d3, along the
> line of sda3, eth0:3, socket:2.core:0, etc.

I don't have any strong opinion here. I wasn't convinced by any of my
ideas when I committed this.

It looks like most OpenCL machines will have multiple platforms (one for
CPU and one for GPU/accelerator) so we have to always keep the platform
in the name. I'll be ok with whichever of XpY or YdX or pYdX or anything

Ideally, we could even have a OS device for each OpenCL platform, each
containing OS devices for devices of the platform. But I'd rather keep a
single level to match other OS devices.