Lines Matching defs:datatype
415 MPI_Datatype datatype,
419 int err = PMPI_Get_count(status, datatype, &n);
993 void check_mem_is_defined ( char* buffer, long count, MPI_Datatype datatype )
995 walk_type_array( check_mem_is_defined_untyped, buffer, datatype, count );
1004 void check_mem_is_addressable ( void *buffer, long count, MPI_Datatype datatype )
1006 walk_type_array( check_mem_is_addressable_untyped, buffer, datatype, count );
1014 void make_mem_defined_if_addressable ( void *buffer, int count, MPI_Datatype datatype )
1017 buffer, datatype, count );
1023 MPI_Datatype datatype )
1026 make_mem_defined_if_addressable(buffer, count, datatype);
1058 /* pre: rd: (buf,count,datatype) */
1060 int generic_Send(void *buf, int count, MPI_Datatype datatype,
1067 check_mem_is_defined(buf, count, datatype);
1068 CALL_FN_W_6W(err, fn, buf,count,datatype,dest,tag,comm);
1072 int WRAPPER_FOR(PMPI_Send)(void *buf, int count, MPI_Datatype datatype,
1074 return generic_Send(buf,count,datatype, dest,tag,comm);
1076 int WRAPPER_FOR(PMPI_Bsend)(void *buf, int count, MPI_Datatype datatype,
1078 return generic_Send(buf,count,datatype, dest,tag,comm);
1080 int WRAPPER_FOR(PMPI_Ssend)(void *buf, int count, MPI_Datatype datatype,
1082 return generic_Send(buf,count,datatype, dest,tag,comm);
1084 int WRAPPER_FOR(PMPI_Rsend)(void *buf, int count, MPI_Datatype datatype,
1086 return generic_Send(buf,count,datatype, dest,tag,comm);
1090 /* pre: must be writable: (buf,count,datatype)
1092 post: make readable: (buf,recv_count,datatype)
1095 int WRAPPER_FOR(PMPI_Recv)(void *buf, int count, MPI_Datatype datatype,
1106 check_mem_is_addressable(buf, count, datatype);
1108 CALL_FN_W_7W(err, fn, buf,count,datatype,source,tag,comm,status);
1109 if (err == MPI_SUCCESS && count_from_Status(&recv_count,datatype,status)) {
1110 make_mem_defined_if_addressable(buf, recv_count, datatype);
1172 MPI_Datatype datatype;
1256 MPI_Datatype datatype )
1300 sReqs[ix].datatype = datatype;
1306 buf, count, (long)datatype, ix);
1356 if (count_from_Status(&recv_count, shadow->datatype, status)) {
1357 make_mem_defined_if_addressable(shadow->buf, recv_count, shadow->datatype);
1368 /* rd: (buf,count,datatype) */
1371 int generic_Isend(void *buf, int count, MPI_Datatype datatype,
1379 check_mem_is_defined(buf, count, datatype);
1381 CALL_FN_W_7W(err, fn, buf,count,datatype,dest,tag,comm,request);
1386 int WRAPPER_FOR(PMPI_Isend)(void *buf, int count, MPI_Datatype datatype,
1389 return generic_Isend(buf,count,datatype, dest,tag,comm, request);
1391 int WRAPPER_FOR(PMPI_Ibsend)(void *buf, int count, MPI_Datatype datatype,
1394 return generic_Isend(buf,count,datatype, dest,tag,comm, request);
1396 int WRAPPER_FOR(PMPI_Issend)(void *buf, int count, MPI_Datatype datatype,
1399 return generic_Isend(buf,count,datatype, dest,tag,comm, request);
1401 int WRAPPER_FOR(PMPI_Irsend)(void *buf, int count, MPI_Datatype datatype,
1404 return generic_Isend(buf,count,datatype, dest,tag,comm, request);
1409 datatype), *request
1414 int WRAPPER_FOR(PMPI_Irecv)( void* buf, int count, MPI_Datatype datatype,
1422 check_mem_is_addressable(buf, count, datatype);
1424 CALL_FN_W_7W(err, fn, buf,count,datatype,source,tag,comm,request);
1427 add_shadow_Request( *request, buf,count,datatype );
1683 post: make readable: (recvbuf,recvcount_actual,datatype)
1769 must be readable: (inbuf,incount,datatype)
1777 int WRAPPER_FOR(PMPI_Pack)( void* inbuf, int incount, MPI_Datatype datatype,
1789 check_mem_is_defined(inbuf, incount, datatype);
1793 err = PMPI_Pack_size( incount, datatype, comm, &szB );
1800 CALL_FN_W_7W(err, fn, inbuf,incount,datatype, outbuf,outsize,position, comm);
1814 must be writable: (outbuf,outcount,datatype)
1820 post: make readable: (outbuf,outcount,datatype)
1825 void* outbuf, int outcount, MPI_Datatype datatype,
1836 check_mem_is_addressable(outbuf, outcount, datatype);
1840 err = PMPI_Pack_size( outcount, datatype, comm, &szB );
1847 CALL_FN_W_7W(err, fn, inbuf,insize,position, outbuf,outcount,datatype, comm);
1855 make_mem_defined_if_addressable( outbuf, outcount, datatype );
1869 /* pre: must-be-readable (buffer,count,datatype) for rank==root
1870 must-be-writable (buffer,count,datatype) for rank!=root
1871 post: make-readable (buffer,count,datatype) for all
1878 MPI_Datatype datatype,
1888 check_mem_is_defined(buffer, count, datatype);
1890 check_mem_is_addressable(buffer, count, datatype);
1892 CALL_FN_W_5W(err, fn, buffer,count,datatype,root,comm);
1893 make_mem_defined_if_addressable_if_success(err, buffer, count, datatype);
2012 /* rd: (sendbuf,count,datatype) for all
2013 wr: (recvbuf,count,datatype) but only for rank == root
2017 MPI_Datatype datatype, MPI_Op op,
2026 check_mem_is_defined(sendbuf, count, datatype);
2028 check_mem_is_addressable(recvbuf, count, datatype);
2029 CALL_FN_W_7W(err, fn, sendbuf,recvbuf,count,datatype,op,root,comm);
2031 make_mem_defined_if_addressable_if_success(err, recvbuf, count, datatype);
2038 /* rd: (sendbuf,count,datatype) for all
2039 wr: (recvbuf,count,datatype) for all
2043 MPI_Datatype datatype, MPI_Op op,
2050 check_mem_is_defined(sendbuf, count, datatype);
2051 check_mem_is_addressable(recvbuf, count, datatype);
2052 CALL_FN_W_6W(err, fn, sendbuf,recvbuf,count,datatype,op,comm);
2053 make_mem_defined_if_addressable_if_success(err, recvbuf, count, datatype);