docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
data_offloading_node.h File Reference
#include <cstddef>
#include <string>
#include <vector>
#include <sdfg/data_flow/data_flow_graph.h>
#include "sdfg/data_flow/library_node.h"
#include "sdfg/element.h"
#include "sdfg/graph/graph.h"
#include "sdfg/serializer/json_serializer.h"
#include "sdfg/symbolic/symbolic.h"

Go to the source code of this file.

Classes

class  sdfg::offloading::DataOffloadingNode
 Name does not match current function. More...
class  sdfg::offloading::DataOffloadingNodeSerializer

Namespaces

namespace  sdfg
namespace  sdfg::offloading

Enumerations

enum class  sdfg::offloading::DataTransferDirection : int8_t { sdfg::offloading::D2H = -1 , sdfg::offloading::NONE = 0 , sdfg::offloading::H2D = 1 }
enum class  sdfg::offloading::BufferLifecycle : int8_t { sdfg::offloading::FREE = -1 , sdfg::offloading::NO_CHANGE = 0 , sdfg::offloading::ALLOC = 1 }

Functions

constexpr bool sdfg::offloading::is_D2H (const DataTransferDirection &transfer_direction)
constexpr bool sdfg::offloading::is_NONE (const DataTransferDirection &transfer_direction)
constexpr bool sdfg::offloading::is_H2D (const DataTransferDirection &transfer_direction)
constexpr bool sdfg::offloading::is_FREE (const BufferLifecycle &buffer_lifecycle)
constexpr bool sdfg::offloading::is_NO_CHANGE (const BufferLifecycle &buffer_lifecycle)
constexpr bool sdfg::offloading::is_ALLOC (const BufferLifecycle &buffer_lifecycle)
template<typename NodeT, typename... Args>
data_flow::LibraryNode & sdfg::offloading::add_offloading_node (builder::StructuredSDFGBuilder &builder, Block &block, const std::string &host_container, const std::string &dev_container, DataTransferDirection direction, BufferLifecycle lifecycle, const types::IType &host_type, const types::IType &dev_type, DebugInfo debug_info=DebugInfo(), Args &&... args)
template<typename NodeT, typename... Args>
std::tuple< structured_control_flow::Block &, data_flow::LibraryNode & > sdfg::offloading::add_offloading_block (builder::StructuredSDFGBuilder &builder, Sequence &parent, const std::string &host_container, const std::string &dev_container, DataTransferDirection direction, BufferLifecycle lifecycle, const types::IType &data_type, DebugInfo debug_info=DebugInfo(), Args &&... args)