root/oshmem/shmem/fortran/shmem_fence_f.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. SHMEM_GENERATE_WEAK_BINDINGS

   1 /*
   2  * Copyright (c) 2013      Mellanox Technologies, Inc.
   3  *                         All rights reserved.
   4  * Copyright (c) 2013 Cisco Systems, Inc.  All rights reserved.
   5  * $COPYRIGHT$
   6  *
   7  * Additional copyrights may follow
   8  *
   9  * $HEADER$
  10  */
  11 
  12 #include "oshmem_config.h"
  13 #include "oshmem/shmem/fortran/bindings.h"
  14 #include "oshmem/include/shmem.h"
  15 #include "oshmem/mca/spml/spml.h"
  16 
  17 #if OSHMEM_PROFILING
  18 #include "oshmem/shmem/fortran/profile/pbindings.h"
  19 SHMEM_GENERATE_WEAK_BINDINGS(SHMEM_FENCE, shmem_fence)
  20 #include "oshmem/shmem/fortran/profile/defines.h"
  21 #endif
  22 
  23 SHMEM_GENERATE_FORTRAN_BINDINGS_SUB (void,
  24         SHMEM_FENCE,
  25         shmem_fence_,
  26         shmem_fence__,
  27         shmem_fence_f,
  28         (void),
  29         () )
  30 
  31 void shmem_fence_f(void)
  32 {
  33     MCA_SPML_CALL(fence(oshmem_ctx_default));
  34 }

/* [<][>][^][v][top][bottom][index][help] */