3#ifndef poplar_Vertex_hpp_
4#define poplar_Vertex_hpp_
6#include <poplar/InOutTypes.hpp>
7#include <poplar/TileConstants.hpp>
8#include <poplar/VectorListTypes.hpp>
9#include <poplar/VectorTypes.hpp>
14#define WORKER_ALIGN alignas(4)
54 static inline constexpr unsigned numWorkers() {
return CTXT_WORKERS; }
ExternalExchangeVertex base class; Any sub-type of this class needs to define a compute() method retu...
Definition: Vertex.hpp:42
MultiVertex base class; Any sub-type of this class needs to define a compute() method taking a single...
Definition: Vertex.hpp:51
static constexpr unsigned numWorkers()
Get the total number of workers that will run this vertex.
Definition: Vertex.hpp:54
SupervisorVertex base class; Any sub-type of this class needs to define a compute() method returning ...
Definition: Vertex.hpp:37
Vertex base class.
Definition: Vertex.hpp:28
Poplar classes and functions.
Definition: ArrayRef.hpp:14
std::conditional_t< pred, SupervisorVertex, Vertex > SupervisorVertexIf
Metafunction that returns a SupervisorVertex if pred is true otherwise a Vertex.
Definition: Vertex.hpp:60