1
1

PML/UCX/YALLA: Fix the message release call.

Set message to MPI_MESSAGE_NULL.

Signed-off-by: Alina Sklarevich <alinas@mellanox.com>
Этот коммит содержится в:
Alina Sklarevich 2017-04-13 14:41:13 +03:00
родитель 6886c1229a
Коммит eec310c99c
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -89,7 +89,7 @@ enum {
#define PML_UCX_MESSAGE_RELEASE(_message) \
{ \
ompi_message_return(*(_message)); \
*(_message) = NULL; \
*(_message) = MPI_MESSAGE_NULL; \
}

Просмотреть файл

@ -212,7 +212,7 @@ static inline mca_pml_yalla_send_request_t* MCA_PML_YALLA_SREQ_INIT(void *_buf,
#define PML_YALLA_MESSAGE_RELEASE(_message) \
{ \
ompi_message_return(*(_message)); \
*(_message) = NULL; \
*(_message) = MPI_MESSAGE_NULL; \
}
#endif /* PML_YALLA_REQUEST_H_ */