Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] dynamic cpuset_t?
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-10-07 12:28:00


On Oct 7, 2009, at 12:20 PM, Brice Goglin wrote:

> > One comment, I see that you have a
> > hwloc_cpuset_copy (which I would have called duplicate)
> > but copy in the sense of assignment is not really possible (i.e.
> > reusing an existing allocated cpuset, and initialize it with the
> > content of another.
>
> I need to think about this.
>

Can we cite any common cases where "copy" is used instead of
"duplicate"? "copy" is certainly shorter. :-)

MPI has MPI_COMM_DUP, MPI_TYPE_DUP ("dup", not "duplicate").

If we don't like the verb "copy", how about "clone"?

-- 
Jeff Squyres
jsquyres_at_[hidden]