Skip to content

Commit 50f666f

Browse files
committed
update constants for MPI_T_CB_REQUIRE_* based on changes in the MPI 5.0 RC
Signed-off-by: Jeff Hammond <jeff.science@gmail.com>
1 parent 611cd30 commit 50f666f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mpi.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -510,10 +510,10 @@ typedef struct MPI_T_event_instance_t* MPI_T_event_instance;
510510
#define MPI_T_PVAR_ALL_HANDLES ((MPI_T_pvar_handle)1)
511511

512512
typedef enum MPI_T_cb_safety {
513-
MPI_T_CB_REQUIRE_NONE = 0,
514-
MPI_T_CB_REQUIRE_MPI_RESTRICTED = 1,
515-
MPI_T_CB_REQUIRE_THREAD_SAFE = 3,
516-
MPI_T_CB_REQUIRE_ASYNC_SIGNAL_SAFE = 7
513+
MPI_T_CB_REQUIRE_NONE = 0x00,
514+
MPI_T_CB_REQUIRE_MPI_RESTRICTED = 0x03,
515+
MPI_T_CB_REQUIRE_THREAD_SAFE = 0x0F,
516+
MPI_T_CB_REQUIRE_ASYNC_SIGNAL_SAFE = 0x3F
517517
} MPI_T_cb_safety;
518518

519519
typedef enum MPI_T_source_order {

0 commit comments

Comments
 (0)