1 /*
2 * Copyright (C) by Argonne National Laboratory
3 * See COPYRIGHT in top-level directory
4 */
5
6
7 #include "mpiimpl.h"
8 #include "tsp_stubtran.h"
9
MPII_Stubutil_sched_create(MPII_Stubutil_sched_t * sched)10 int MPII_Stubutil_sched_create(MPII_Stubutil_sched_t * sched)
11 {
12 return MPI_SUCCESS;
13 }
14
MPII_Stubutil_sched_free(MPII_Stubutil_sched_t * sched)15 void MPII_Stubutil_sched_free(MPII_Stubutil_sched_t * sched)
16 {
17 return;
18 }
19
MPII_Stubutil_sched_isend(const void * buf,int count,MPI_Datatype dt,int dest,int tag,MPIR_Comm * comm_ptr,MPII_Stubutil_sched_t * sched,int n_invtcs,int * invtcs)20 int MPII_Stubutil_sched_isend(const void *buf, int count, MPI_Datatype dt, int dest, int tag,
21 MPIR_Comm * comm_ptr, MPII_Stubutil_sched_t * sched,
22 int n_invtcs, int *invtcs)
23 {
24 return MPI_SUCCESS;
25 }
26
MPII_Stubutil_sched_irecv(void * buf,int count,MPI_Datatype datatype,int source,int tag,MPIR_Comm * comm_ptr,MPII_Stubutil_sched_t * sched,int n_invtcs,int * invtcs)27 int MPII_Stubutil_sched_irecv(void *buf, int count, MPI_Datatype datatype, int source, int tag,
28 MPIR_Comm * comm_ptr, MPII_Stubutil_sched_t * sched,
29 int n_invtcs, int *invtcs)
30 {
31 return MPI_SUCCESS;
32 }
33
MPII_Stubutil_sched_imcast(const void * buf,int count,MPI_Datatype dt,UT_array * destinations,int num_destinations,int tag,MPIR_Comm * comm_ptr,MPII_Stubutil_sched_t * sched,int n_invtcs,int * invtcs)34 int MPII_Stubutil_sched_imcast(const void *buf, int count, MPI_Datatype dt, UT_array * destinations,
35 int num_destinations, int tag, MPIR_Comm * comm_ptr,
36 MPII_Stubutil_sched_t * sched, int n_invtcs, int *invtcs)
37 {
38 return MPI_SUCCESS;
39 }
40
MPII_Stubutil_sched_issend(const void * buf,int count,MPI_Datatype dt,int dest,int tag,MPIR_Comm * comm_ptr,MPII_Stubutil_sched_t * sched,int n_invtcs,int * invtcs)41 int MPII_Stubutil_sched_issend(const void *buf, int count, MPI_Datatype dt, int dest, int tag,
42 MPIR_Comm * comm_ptr, MPII_Stubutil_sched_t * sched,
43 int n_invtcs, int *invtcs)
44 {
45 return MPI_SUCCESS;
46 }
47
MPII_Stubutil_sched_reduce_local(const void * inbuf,void * inoutbuf,int count,MPI_Datatype dt,MPI_Op op,MPII_Stubutil_sched_t * sched,int n_invtcs,int * invtcs)48 int MPII_Stubutil_sched_reduce_local(const void *inbuf, void *inoutbuf, int count, MPI_Datatype dt,
49 MPI_Op op, MPII_Stubutil_sched_t * sched, int n_invtcs,
50 int *invtcs)
51 {
52 return MPI_SUCCESS;
53 }
54
MPII_Stubutil_sched_localcopy(const void * sendbuf,MPI_Aint sendcount,MPI_Datatype sendtype,void * recvbuf,MPI_Aint recvcount,MPI_Datatype recvtype,MPII_Stubutil_sched_t * sched,int n_in_vtcs,int * in_vtcs)55 int MPII_Stubutil_sched_localcopy(const void *sendbuf, MPI_Aint sendcount, MPI_Datatype sendtype,
56 void *recvbuf, MPI_Aint recvcount, MPI_Datatype recvtype,
57 MPII_Stubutil_sched_t * sched, int n_in_vtcs, int *in_vtcs)
58 {
59 return MPI_SUCCESS;
60 }
61
MPII_Stubutil_sched_selective_sink(MPII_Stubutil_sched_t * sched,int n_in_vtcs,int * invtcs)62 int MPII_Stubutil_sched_selective_sink(MPII_Stubutil_sched_t * sched, int n_in_vtcs, int *invtcs)
63 {
64 return MPI_SUCCESS;
65 }
66
MPII_Stubutil_sched_malloc(size_t size,MPII_Stubutil_sched_t * sched)67 void *MPII_Stubutil_sched_malloc(size_t size, MPII_Stubutil_sched_t * sched)
68 {
69 return MPI_SUCCESS;
70 }
71
MPII_Stubutil_sched_start(MPII_Stubutil_sched_t * sched,MPIR_Comm * comm,MPII_Coll_req_t ** request)72 int MPII_Stubutil_sched_start(MPII_Stubutil_sched_t * sched, MPIR_Comm * comm,
73 MPII_Coll_req_t ** request)
74 {
75 return MPI_SUCCESS;
76 }
77