Here is a shmem_sync example that I've updated to use a couple of simple teams.
Hopefully this is helpful - please don't hesitate to propose suggestions/alternatives/fixes.
Also, I am a little unsure whether it's safe to leave the shmem_team_config_t object uninitialized during team creation since the mask is zero. The current specification draft suggests to me that there is no need to set the configuration struct if the mask is zero, but I just want to make sure. Passing NULL pointer instead...
Here is a
shmem_sync
example that I've updated to use a couple of simple teams.Hopefully this is helpful - please don't hesitate to propose suggestions/alternatives/fixes.
Also, I am a little unsure whether it's safe to leave thePassing NULL pointer instead...shmem_team_config_t
object uninitialized during team creation since the mask is zero. The current specification draft suggests to me that there is no need to set the configuration struct if the mask is zero, but I just want to make sure.Signed-off-by: David M. Ozog david.m.ozog@intel.com