Open MPI logo

PLPA Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all PLPA Users mailing list

Subject: Re: [PLPA users] [PATCH] use max_core_id[socket] as tighter bound for valid core id
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2008-03-21 15:14:00


Committed in r171; thanks (forgot to cite you in the commit message;
sorry :-\ ).

On Mar 21, 2008, at 2:52 PM, Bert Wesarg wrote:
> In the loop for counting the number of cores in a socket, we don't
> need to check all PLPA_BITMASK_CPU_MAX processor ids, only up to
> max_core_id[socket] processor ids.
>
> While checking for invalid arguments for map_to_processor_id, the core
> argument is checked against '> max_core_id_overall', but we can check
> for '> max_core_id[socket]'.
>
> Bert
> <tighter-bounds.patch>_______________________________________________
> plpa-users mailing list
> plpa-users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/plpa-users

-- 
Jeff Squyres
Cisco Systems