root/oshmem/shmem/c/shmem_clear_cache_line_inv.c

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

DEFINITIONS

This source file includes following definitions.
  1. shmem_clear_cache_line_inv

   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 
  20 #include "oshmem/shmem/shmem_api_logger.h"
  21 #include "opal/sys/architecture.h"
  22 
  23 #if OSHMEM_PROFILING
  24 #include "oshmem/include/pshmem.h"
  25 #pragma weak shmem_clear_cache_line_inv = pshmem_clear_cache_line_inv
  26 #include "oshmem/shmem/c/profile/defines.h"
  27 #endif
  28 
  29 void shmem_clear_cache_line_inv(void *target)
  30 {
  31 #if (OPAL_ASSEMBLY_ARCH == OPAL_IA64) || (OPAL_ASSEMBLY_ARCH == OPAL_IA32) || (OPAL_ASSEMBLY_ARCH == OPAL_X86_64)
  32     do {SHMEM_API_VERBOSE(10,"shmem_clear_cache_line_inv is not supported by the current CPU architecture");}while (0);
  33 #else
  34     /* another implementation */
  35 #endif
  36 }

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