mache.parallel.topology.with_siblings

mache.parallel.topology.with_siblings(cpu_ids: Iterable[int]) → List[int][source]

Every id on the same core as any of these, these included.

Parameters:

cpu_ids (iterable of int) – The ids to complete

Returns:

ids (list of int) – The ids and every sibling of each, in ascending order