Most APIs that accept a team specify their behavior in the presence of an invalid team. Most of these APIs use consistent wording, e.g. "If team compares equal to SHMEM_TEAM_INVALID then ... If team is otherwise invalid, the behavior is undefined."
shmem_sync, shmem_broadcast, shmem_reduction use slightly different wording: "If an invalid team handle or SHMEM_TEAM_INVALID is passed to this routine, the behavior is undefined." This should be re-worded.
shmem_alltoalls, shmem_alltoall, and shmem_collect accept teams arguments but do not specify their behavior in the case of SHMEM_TEAM_INVALID or an otherwise invalid team. This needs to be added.
Most APIs that accept a team specify their behavior in the presence of an invalid team. Most of these APIs use consistent wording, e.g. "If team compares equal to SHMEM_TEAM_INVALID then ... If team is otherwise invalid, the behavior is undefined."
shmem_sync, shmem_broadcast, shmem_reduction use slightly different wording: "If an invalid team handle or SHMEM_TEAM_INVALID is passed to this routine, the behavior is undefined." This should be re-worded.
shmem_alltoalls, shmem_alltoall, and shmem_collect accept teams arguments but do not specify their behavior in the case of SHMEM_TEAM_INVALID or an otherwise invalid team. This needs to be added.