Thrill  0.1
distribute.hpp File Reference
#include <thrill/api/dia.hpp>
#include <thrill/api/source_node.hpp>
#include <thrill/common/logger.hpp>
#include <tlx/vector_free.hpp>
#include <vector>
+ Include dependency graph for distribute.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DistributeNode< ValueType >
 

Namespaces

 thrill
 
 thrill::api
 

Macros

#define THRILL_API_DISTRIBUTE_HEADER
 

Functions

template<typename ValueType >
auto Distribute (Context &ctx, const std::vector< ValueType > &in_vector, size_t source_id=0)
 Distribute is a Source DOp, which scatters the vector data from the source_id to all workers, partitioning equally, and returning the data in a DIA. More...
 
template<typename ValueType >
auto Distribute (Context &ctx, std::vector< ValueType > &&in_vector, size_t source_id=0)
 Distribute is a Source DOp, which scatters the vector data from the source_id to all workers, partitioning equally, and returning the data in a DIA. More...
 

Macro Definition Documentation

◆ THRILL_API_DISTRIBUTE_HEADER

#define THRILL_API_DISTRIBUTE_HEADER

Definition at line 13 of file distribute.hpp.