Skip to content

Commit d60f88d

Browse files
committed
add hooks for TAG_OUT type
Signed-off-by: Howard Pritchard <[email protected]>
1 parent 6e4067a commit d60f88d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

ompi/mpi/bindings/ompi_bindings/consts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ class ConvertOMPIToStandard:
299299
REQUEST = 'ompi_convert_ompi_request_abi_request'
300300
INFO = 'ompi_convert_info_ompi_to_standard'
301301
TS_LEVEL = 'ompi_convert_ts_level_ompi_to_standard'
302+
TAG = 'ompi_convert_tag_ompi_to_starndard'
302303

303304

304305
# Inline function attributes

ompi/mpi/c/abi_converters.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,15 @@ __opal_attribute_always_inline__ static inline int ompi_convert_abi_tag_intern_t
990990
}
991991
}
992992

993+
__opal_attribute_always_inline__ static inline int ompi_convert_tag_ompi_to_starndard(int tag)
994+
{
995+
if (MPI_ANY_TAG == tag) {
996+
return MPI_ANY_TAG_ABI_INTERNAL;
997+
} else {
998+
return tag;
999+
}
1000+
}
1001+
9931002
#if defined(c_plusplus) || defined(__cplusplus)
9941003
}
9951004
#endif

0 commit comments

Comments
 (0)