The standard does not imply that the contents of the buffer should be defined/addressable at this point. Remove the buffer checks in these functions.
This commit was SVN r23988.
This commit is contained in:
parent
a7dc32afb0
commit
066d5fb9d7
@ -45,7 +45,6 @@ int MPI_Bsend_init(void *buf, int count, MPI_Datatype type,
|
||||
|
||||
MEMCHECKER(
|
||||
memchecker_datatype(type);
|
||||
memchecker_call(&opal_memchecker_base_isdefined, buf, count, type);
|
||||
memchecker_comm(comm);
|
||||
);
|
||||
|
||||
|
@ -44,7 +44,6 @@ int MPI_Recv_init(void *buf, int count, MPI_Datatype type, int source,
|
||||
|
||||
MEMCHECKER(
|
||||
memchecker_datatype(type);
|
||||
memchecker_call(&opal_memchecker_base_isaddressable, buf, count, type);
|
||||
memchecker_comm(comm);
|
||||
);
|
||||
|
||||
|
@ -46,7 +46,6 @@ int MPI_Rsend_init(void *buf, int count, MPI_Datatype type,
|
||||
|
||||
MEMCHECKER(
|
||||
memchecker_datatype(type);
|
||||
memchecker_call(&opal_memchecker_base_isdefined, buf, count, type);
|
||||
memchecker_comm(comm);
|
||||
);
|
||||
|
||||
|
@ -46,7 +46,6 @@ int MPI_Send_init(void *buf, int count, MPI_Datatype type,
|
||||
|
||||
MEMCHECKER(
|
||||
memchecker_datatype(type);
|
||||
memchecker_call(&opal_memchecker_base_isdefined, buf, count, type);
|
||||
memchecker_comm(comm);
|
||||
);
|
||||
|
||||
|
@ -46,7 +46,6 @@ int MPI_Ssend_init(void *buf, int count, MPI_Datatype type,
|
||||
|
||||
MEMCHECKER(
|
||||
memchecker_datatype(type);
|
||||
memchecker_call(&opal_memchecker_base_isdefined, buf, count, type);
|
||||
memchecker_comm(comm);
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user