File indexing completed on 2023-05-28 05:10:53 UTC
view on githubraw file Latest commit b4daa243 on 2023-05-28 03:53:22 UTC
b4daa24319 Shre*0001 /*
0002 ##########################################################
0003 # This file is part of the AdjoinableMPI library #
0004 # released under the MIT License. #
0005 # The full COPYRIGHT notice can be found in the top #
0006 # level directory of the AdjoinableMPI distribution. #
0007 ##########################################################
0008
0009 #ifndef _AMPI_ACTIVITY_H_
0010 #define _AMPI_ACTIVITY_H_
0011
0012 /**
0013 * \file
0014 * \ingroup UserInterfaceHeaders
0015 * enumeration to distinguish between active and passive variants of MPI_Datatype parameters passed to AMPI routines
0016 */
0017
0018 #include "ampi/userIF/libConfig.h"
0019
0020 /** \ingroup UserInterfaceDeclarations
0021 * @{
0022 */
0023 enum AMPI_Activity_E {
0024 AMPI_PASSIVE=0,
0025 AMPI_ACTIVE=1
0026 };
0027
0028 #ifdef AMPI_FORTRANCOMPATIBLE
0029 typedef int AMPI_Activity;
0030 #else
0031 typedef enum AMPI_Activity_E AMPI_Activity;
0032 #endif
0033 /** @} */
0034 #endif