gmegan / specification

OpenSHMEM Application Programming Interface
http://www.openshmem.org
1 stars 0 forks source link

Diff between SHMEM_TEAM_NULL, NULL, and SHMEM_TEAM_SELF #118

Open naveen-rn opened 5 years ago

naveen-rn commented 5 years ago

Based on one of the OpenSHMEM Teams WG meeting, I got confused with the definition of SHMEM_TEAM_NULL constant. To me SHMEM_TEAM_NULL is still a team with just one PE and no-team resource attached to it. If we had SHMEM_TEAM_SELF in the list of Team constants, then SHMEM_TEAM_NULL is just SHMEM_TEAM_SELF without any resource attached to it. If this assumption is not correct, then there is no difference between a NULL pointer and SHMEM_TEAM_NULL.