Blame src/mpid/common/hcoll/hcoll.h

Packit Service c5cf8c
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
Packit Service c5cf8c
/*
Packit Service c5cf8c
 *  (C) 2014 by Argonne National Laboratory.
Packit Service c5cf8c
 *      See COPYRIGHT in top-level directory.
Packit Service c5cf8c
 */
Packit Service c5cf8c
Packit Service c5cf8c
#ifndef HCOLL_H_INCLUDED
Packit Service c5cf8c
#define HCOLL_H_INCLUDED
Packit Service c5cf8c
Packit Service c5cf8c
#include "hcoll/api/hcoll_api.h"
Packit Service c5cf8c
#ifndef HCOLL_VERSION
Packit Service c5cf8c
#define HCOLL_VERSION(major, minor) (((major)<
Packit Service c5cf8c
#endif
Packit Service c5cf8c
#include "hcoll_dtypes.h"
Packit Service c5cf8c
Packit Service c5cf8c
extern int world_comm_destroying;
Packit Service c5cf8c
Packit Service c5cf8c
#if defined(MPL_USE_DBG_LOGGING)
Packit Service c5cf8c
extern MPL_dbg_class MPIR_DBG_HCOLL;
Packit Service c5cf8c
#endif /* MPL_USE_DBG_LOGGING */
Packit Service c5cf8c
Packit Service c5cf8c
int hcoll_initialize(void);
Packit Service c5cf8c
Packit Service c5cf8c
int hcoll_comm_create(MPIR_Comm * comm, void *param);
Packit Service c5cf8c
int hcoll_comm_destroy(MPIR_Comm * comm, void *param);
Packit Service c5cf8c
Packit Service c5cf8c
int hcoll_Barrier(MPIR_Comm * comm_ptr, MPIR_Errflag_t * err);
Packit Service c5cf8c
int hcoll_Bcast(void *buffer, int count, MPI_Datatype datatype, int root,
Packit Service c5cf8c
                MPIR_Comm * comm_ptr, MPIR_Errflag_t * err);
Packit Service c5cf8c
int hcoll_Reduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op,
Packit Service c5cf8c
                 int root, MPIR_Comm * comm_ptr, MPIR_Errflag_t * err);
Packit Service c5cf8c
int hcoll_Allgather(const void *sbuf, int scount, MPI_Datatype sdtype,
Packit Service c5cf8c
                    void *rbuf, int rcount, MPI_Datatype rdtype, MPIR_Comm * comm_ptr,
Packit Service c5cf8c
                    MPIR_Errflag_t * err);
Packit Service c5cf8c
int hcoll_Allreduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op,
Packit Service c5cf8c
                    MPIR_Comm * comm_ptr, MPIR_Errflag_t * err);
Packit Service c5cf8c
int hcoll_Alltoall(const void *sbuf, int scount, MPI_Datatype sdtype, void *rbuf, int rcount,
Packit Service c5cf8c
                   MPI_Datatype rdtype, MPIR_Comm * comm_ptr, MPIR_Errflag_t * err);
Packit Service c5cf8c
int hcoll_Alltoallv(const void *sbuf, const int *scounts, const int *sdispls, MPI_Datatype sdtype,
Packit Service c5cf8c
                    void *rbuf, const int *rcounts, const int *rdispls, MPI_Datatype rdtype,
Packit Service c5cf8c
                    MPIR_Comm * comm_ptr, MPIR_Errflag_t * err);
Packit Service c5cf8c
Packit Service c5cf8c
int hcoll_do_progress(int *made_progress);
Packit Service c5cf8c
Packit Service c5cf8c
#endif /* HCOLL_H_INCLUDED */