/*
 * Copyright (C) by Argonne National Laboratory
 *     See COPYRIGHT in top-level directory
 */


#include "mpiimpl.h"
#include "tsp_stubtran.h"

int MPII_Stubutil_sched_create(MPII_Stubutil_sched_t * sched)
{
    return MPI_SUCCESS;
}

void MPII_Stubutil_sched_free(MPII_Stubutil_sched_t * sched)
{
    return;
}

int 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)
{
    return MPI_SUCCESS;
}

int 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)
{
    return MPI_SUCCESS;
}

int 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)
{
    return MPI_SUCCESS;
}

int 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)
{
    return MPI_SUCCESS;
}

int 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)
{
    return MPI_SUCCESS;
}

int 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)
{
    return MPI_SUCCESS;
}

int MPII_Stubutil_sched_selective_sink(MPII_Stubutil_sched_t * sched, int n_in_vtcs, int *invtcs)
{
    return MPI_SUCCESS;
}

void *MPII_Stubutil_sched_malloc(size_t size, MPII_Stubutil_sched_t * sched)
{
    return MPI_SUCCESS;
}

int MPII_Stubutil_sched_start(MPII_Stubutil_sched_t * sched, MPIR_Comm * comm,
                              MPII_Coll_req_t ** request)
{
    return MPI_SUCCESS;
}
