root/oshmem/shmem/c/shmem_udcflush.c

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

DEFINITIONS

This source file includes following definitions.
  1. shmem_udcflush

   1 /*
   2  * Copyright (c) 2013      Mellanox Technologies, Inc.
   3  *                         All rights reserved.
   4  * Copyright (c) 2014      Intel, Inc. All rights reserved.
   5  * Copyright (c) 2017      Research Organization for Information Science
   6  *                         and Technology (RIST). All rights reserved.
   7  * $COPYRIGHT$
   8  *
   9  * Additional copyrights may follow
  10  *
  11  * $HEADER$
  12  */
  13 #include "oshmem_config.h"
  14 
  15 #include "oshmem/constants.h"
  16 #include "oshmem/include/shmem.h"
  17 
  18 #include "oshmem/mca/spml/spml.h"
  19 #include "oshmem/shmem/shmem_api_logger.h"
  20 #include "opal/sys/architecture.h"
  21 
  22 #if OSHMEM_PROFILING
  23 #include "oshmem/include/pshmem.h"
  24 #pragma weak shmem_udcflush = pshmem_udcflush
  25 #include "oshmem/shmem/c/profile/defines.h"
  26 #endif
  27 
  28 void shmem_udcflush(void)
  29 {
  30 #if (OPAL_ASSEMBLY_ARCH == OPAL_IA64) || (OPAL_ASSEMBLY_ARCH == OPAL_IA32) || (OPAL_ASSEMBLY_ARCH == OPAL_X86_64)
  31     do {SHMEM_API_VERBOSE(10,"shmem_udcflush is not supported by the current CPU architecture");}while (0);
  32 #else
  33     /* another implementation */
  34 #endif
  35 }

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