Class kpair

Class Documentation

class ral::cache::kpair

A temporary object to represent a pair of two kernels linked into the execution graph.

Public Functions

inline kpair(std::shared_ptr<kernel> a, std::shared_ptr<kernel> b, const cache_settings &config = cache_settings{})
inline kpair(std::shared_ptr<kernel> a, std::shared_ptr<kernel> b, const std::string &port_b, const cache_settings &config = cache_settings{})
inline kpair(std::shared_ptr<kernel> a, const std::string &port_a, std::shared_ptr<kernel> b, const std::string &port_b, const cache_settings &config = cache_settings{})
kpair(const kpair&) = default
kpair(kpair&&) = default
inline bool has_custom_source() const
inline bool has_custom_target() const

Public Members

std::shared_ptr<kernel> src
std::shared_ptr<kernel> dst
const cache_settings cache_machine_config
std::string src_port_name
std::string dst_port_name