28 #ifndef _H_GRB_COLL_BASE 29 #define _H_GRB_COLL_BASE 45 template< enum Backend implementation >
121 static RC allreduce( IOType &inout,
const Operator op = Operator() ) {
193 const size_t root = 0,
194 const Operator op = Operator()
243 template<
typename IOType >
256 template< Descriptor descr = descriptors::no_operation,
typename IOType >
260 const size_t root = 0
272 #endif // end _H_GRB_COLL_BASE Defines the ALP error codes.
This file contains a register of all backends that are either implemented, under implementation,...
RC
Return codes of ALP primitives.
Definition: rc.hpp:47
static RC broadcast(IOType &inout, const size_t root=0)
Schedules a broadcast operation of a single object of type IOType per process.
Definition: collectives.hpp:244
static constexpr Descriptor no_operation
Indicates no additional pre- or post-processing on any of the GraphBLAS function arguments.
Definition: descriptors.hpp:63
unsigned int Descriptor
Descriptors indicate pre- or post-processing for some or all of the arguments to an ALP/GraphBLAS cal...
Definition: descriptors.hpp:54
A static class defining various collective operations on scalars.
Definition: collectives.hpp:46
static RC allreduce(IOType &inout, const Operator op=Operator())
Schedules an allreduce operation of a single object of type IOType per process.
Definition: collectives.hpp:121
Defines all ALP/GraphBLAS descriptors.
static RC reduce(IOType &inout, const size_t root=0, const Operator op=Operator())
Schedules a reduce operation of a single object of type IOType per process.
Definition: collectives.hpp:191
The ALP/GraphBLAS namespace.
Definition: graphblas.hpp:477
Generic fatal error code.
Definition: rc.hpp:68
size_t size(const Vector< DataType, backend, Coords > &x) noexcept
Request the size of a given vector.
Definition: io.hpp:235
static RC broadcast(IOType *inout, const size_t size, const size_t root=0)
Broadcast on an array of IOType.
Definition: collectives.hpp:257