Skip to content

Should collectives on SHMEM_TEAM_INVALID be no-ops? #141

Description

@nspark

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions