Contents

struct

SushiRuntime::API::Writes

Names the data a task writes, as a list of dependency keys.

Declared in
include/SushiRuntime/api/vocabulary/dependencies.hpp

As Reads, but gathers write keys (a State contributes its next buffer).

Public attributes

std::vector< Core::ResourceRegion > keys

Write regions, in argument order.

std::vector< Core::LivenessObserver > lives

Observers of the typed handles written.

Public member functions

template <class... Handles>
explicit Writes(const Handles &... hs)

Collects the write region and liveness of each handle passed.

Parameters

hs

Buffers, buffer regions, or States the task writes; a State contributes its next field.