Currently, the collectives intro says:
If an invalid team handle or SHMEM_TEAM_INVALID is passed to a team-based collective
routine, the behavior is undefined.
Should we leave this as-is, or should collectives on SHMEM_TEAM_INVALID be treated as no-ops?
Some points in favor of treating them as no-ops:
- Collectives are enough of a "heavyweight" operation that I'm not concerned about the branch.
- Elsewhere, we define most (all?) team-based operations to be no-ops for
SHMEM_TEAM_INVALID. This would make collectives consistent with those other operations.
Currently, the collectives intro says:
Should we leave this as-is, or should collectives on
SHMEM_TEAM_INVALIDbe treated as no-ops?Some points in favor of treating them as no-ops:
SHMEM_TEAM_INVALID. This would make collectives consistent with those other operations.