This source file includes following definitions.
- shmem_fence
- shmem_ctx_fence
   1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 #include "oshmem_config.h"
  11 
  12 #include "oshmem/constants.h"
  13 #include "oshmem/include/shmem.h"
  14 
  15 #include "oshmem/mca/spml/spml.h"
  16 
  17 #if OSHMEM_PROFILING
  18 #include "oshmem/include/pshmem.h"
  19 #pragma weak shmem_fence = pshmem_fence
  20 #pragma weak shmem_ctx_fence = pshmem_ctx_fence
  21 #include "oshmem/shmem/c/profile/defines.h"
  22 #endif
  23 
  24 void shmem_fence(void)
  25 {
  26 
  27     MCA_SPML_CALL(fence(oshmem_ctx_default));
  28 }
  29 
  30 void shmem_ctx_fence(shmem_ctx_t ctx)
  31 {
  32 
  33     MCA_SPML_CALL(fence(ctx));
  34 }