root/oshmem/shmem/fortran/shmem_get64_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/shmem/shmem_api_logger.h"
  16 #include "oshmem/runtime/runtime.h"
  17 #include "oshmem/mca/spml/spml.h"
  18 #include "stdio.h"
  19 
  20 #if OSHMEM_PROFILING
  21 #include "oshmem/shmem/fortran/profile/pbindings.h"
  22 SHMEM_GENERATE_WEAK_BINDINGS(SHMEM_GET64, shmem_get64)
  23 #include "oshmem/shmem/fortran/profile/defines.h"
  24 #endif
  25 
  26 SHMEM_GENERATE_FORTRAN_BINDINGS_SUB (void,
  27         SHMEM_GET64,
  28         shmem_get64_,
  29         shmem_get64__,
  30         shmem_get64_f,
  31         (FORTRAN_POINTER_T target, FORTRAN_POINTER_T source, MPI_Fint *len, MPI_Fint *pe),
  32         (target,source,len,pe) )
  33 
  34 void shmem_get64_f(FORTRAN_POINTER_T target, FORTRAN_POINTER_T source, MPI_Fint *len, MPI_Fint *pe)
  35 {
  36     MCA_SPML_CALL(get(oshmem_ctx_default, FPTR_2_VOID_PTR(source),
  37         OMPI_FINT_2_INT(*len) * 8,
  38         FPTR_2_VOID_PTR(target),
  39         OMPI_FINT_2_INT(*pe)));
  40 }
  41 

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