Home | History | Annotate | Download | only in mpi

Lines Matching refs:datatype

412                                       MPI_Datatype datatype, 
416 int err = PMPI_Get_count(status, datatype, &n);
990 void check_mem_is_defined ( char* buffer, long count, MPI_Datatype datatype )
992 walk_type_array( check_mem_is_defined_untyped, buffer, datatype, count );
1001 void check_mem_is_addressable ( void *buffer, long count, MPI_Datatype datatype )
1003 walk_type_array( check_mem_is_addressable_untyped, buffer, datatype, count );
1011 void make_mem_defined_if_addressable ( void *buffer, int count, MPI_Datatype datatype )
1014 buffer, datatype, count );
1020 MPI_Datatype datatype )
1023 make_mem_defined_if_addressable(buffer, count, datatype);
1055 /* pre: rd: (buf,count,datatype) */
1057 int generic_Send(void *buf, int count, MPI_Datatype datatype,
1064 check_mem_is_defined(buf, count, datatype);
1066 CALL_FN_W_6W(err, fn, buf,count,datatype,dest,tag,comm);
1071 int WRAPPER_FOR(PMPI_Send)(void *buf, int count, MPI_Datatype datatype,
1073 return generic_Send(buf,count,datatype, dest,tag,comm);
1075 int WRAPPER_FOR(PMPI_Bsend)(void *buf, int count, MPI_Datatype datatype,
1077 return generic_Send(buf,count,datatype, dest,tag,comm);
1079 int WRAPPER_FOR(PMPI_Ssend)(void *buf, int count, MPI_Datatype datatype,
1081 return generic_Send(buf,count,datatype, dest,tag,comm);
1083 int WRAPPER_FOR(PMPI_Rsend)(void *buf, int count, MPI_Datatype datatype,
1085 return generic_Send(buf,count,datatype, dest,tag,comm);
1089 /* pre: must be writable: (buf,count,datatype)
1091 post: make readable: (buf,recv_count,datatype)
1094 int WRAPPER_FOR(PMPI_Recv)(void *buf, int count, MPI_Datatype datatype,
1105 check_mem_is_addressable(buf, count, datatype);
1108 CALL_FN_W_7W(err, fn, buf,count,datatype,source,tag,comm,status);
1110 if (err == MPI_SUCCESS && count_from_Status(&recv_count,datatype,status)) {
1111 make_mem_defined_if_addressable(buf, recv_count, datatype);
1171 MPI_Datatype datatype;
1255 MPI_Datatype datatype )
1299 sReqs[ix].datatype = datatype;
1305 buf, count, (long)datatype, ix);
1355 if (count_from_Status(&recv_count, shadow->datatype, status)) {
1356 make_mem_defined_if_addressable(shadow->buf, recv_count, shadow->datatype);
1367 /* rd: (buf,count,datatype) */
1370 int generic_Isend(void *buf, int count, MPI_Datatype datatype,
1378 check_mem_is_defined(buf, count, datatype);
1381 CALL_FN_W_7W(err, fn, buf,count,datatype,dest,tag,comm,request);
1387 int WRAPPER_FOR(PMPI_Isend)(void *buf, int count, MPI_Datatype datatype,
1390 return generic_Isend(buf,count,datatype, dest,tag,comm, request);
1392 int WRAPPER_FOR(PMPI_Ibsend)(void *buf, int count, MPI_Datatype datatype,
1395 return generic_Isend(buf,count,datatype, dest,tag,comm, request);
1397 int WRAPPER_FOR(PMPI_Issend)(void *buf, int count, MPI_Datatype datatype,
1400 return generic_Isend(buf,count,datatype, dest,tag,comm, request);
1402 datatype,
1405 return generic_Isend(buf,count,datatype, dest,tag,comm, request);
1410 /* pre: must be writable: (buf,count,datatype), *request
1415 int WRAPPER_FOR(PMPI_Irecv)( void* buf, int count, MPI_Datatype datatype,
1423 check_mem_is_addressable(buf, count, datatype);
1426 CALL_FN_W_7W(err, fn, buf,count,datatype,source,tag,comm,request);
1430 add_shadow_Request( *request, buf,count,datatype );
1702 post: make readable: (recvbuf,recvcount_actual,datatype)
1794 must be readable: (inbuf,incount,datatype)
1802 int WRAPPER_FOR(PMPI_Pack)( void* inbuf, int incount, MPI_Datatype datatype,
1814 check_mem_is_defined(inbuf, incount, datatype);
1818 err = PMPI_Pack_size( incount, datatype, comm, &szB );
1826 CALL_FN_W_7W(err, fn, inbuf,incount,datatype, outbuf,outsize,position, comm);
1841 must be writable: (outbuf,outcount,datatype)
1847 post: make readable: (outbuf,outcount,datatype)
1852 void* outbuf, int outcount, MPI_Datatype datatype,
1863 check_mem_is_addressable(outbuf, outcount, datatype);
1867 err = PMPI_Pack_size( outcount, datatype, comm, &szB );
1875 CALL_FN_W_7W(err, fn, inbuf,insize,position, outbuf,outcount,datatype, comm);
1884 make_mem_defined_if_addressable( outbuf, outcount, datatype );
1898 /* pre: must-be-readable (buffer,count,datatype) for rank==root
1899 must-be-writable (buffer,count,datatype) for rank!=root
1900 post: make-readable (buffer,count,datatype) for all
1907 MPI_Datatype datatype,
1917 check_mem_is_defined(buffer, count, datatype);
1919 check_mem_is_addressable(buffer, count, datatype);
1922 CALL_FN_W_5W(err, fn, buffer,count,datatype,root,comm);
1924 make_mem_defined_if_addressable_if_success(err, buffer, count, datatype);
2049 /* rd: (sendbuf,count,datatype) for all
2050 wr: (recvbuf,count,datatype) but only for rank == root
2054 MPI_Datatype datatype, MPI_Op op,
2063 check_mem_is_defined(sendbuf, count, datatype);
2065 check_mem_is_addressable(recvbuf, count, datatype);
2067 CALL_FN_W_7W(err, fn, sendbuf,recvbuf,count,datatype,op,root,comm);
2070 make_mem_defined_if_addressable_if_success(err, recvbuf, count, datatype);
2077 /* rd: (sendbuf,count,datatype) for all
2078 wr: (recvbuf,count,datatype) for all
2082 MPI_Datatype datatype, MPI_Op op,
2089 check_mem_is_defined(sendbuf, count, datatype);
2090 check_mem_is_addressable(recvbuf, count, datatype);
2092 CALL_FN_W_6W(err, fn, sendbuf,recvbuf,count,datatype,op,comm);
2094 make_mem_defined_if_addressable_if_success(err, recvbuf, count, datatype);