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
This file contains a register of all backends that are either implemented, under implementation,...
A static class defining various collective operations on scalars.
Definition: collectives.hpp:46
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 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
static RC broadcast(IOType *inout, const size_t size, const size_t root=0)
Broadcast on an array of IOType.
Definition: collectives.hpp:257
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.
size_t size(const Vector< DataType, backend, Coords > &x) noexcept
Request the size of a given vector.
Definition: io.hpp:235
static constexpr Descriptor no_operation
Indicates no additional pre- or post-processing on any of the GraphBLAS function arguments.
Definition: descriptors.hpp:63
The ALP/GraphBLAS namespace.
Definition: graphblas.hpp:452
RC
Return codes of ALP primitives.
Definition: rc.hpp:47
@ PANIC
Generic fatal error code.
Definition: rc.hpp:68
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
Defines the ALP error codes.