Shortcuts

Struct Memcopy

Struct Documentation

struct ripple::Memcopy

This class finds partitions in a tensor, and if so, appends operations onto a graph which perform data transer such that the padding data of each partition is correctly filled with internal data from neighbour partitions.

Public Static Functions

template<typename Graph, typename ...Args>
auto memcopy(Graph &graph, ExecutionKind exec, TransferKind transfer, Args&&... args) noexcept -> void

Adds neceasarry memcopy nodes if any of the arguments are tensors, creating any necessary dependencies due to modifiers on the tensors.

Parameters
  • graph: The graph to add the memcopy nodes to.

  • exec: The kind of the execution for the operations.

  • transfer: The kind of the transfer operations.

  • args: The arguments for the functor.

Template Parameters
  • Graph: The type of the graph.

  • Args: The type of the arguments.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples