struct
SushiRuntime::API::LateCount
Holds a run count resolved once per run from exactly one live source.
- Declared in
include/SushiRuntime/api/graph/graph.hpp
See also
include/SushiRuntime/api/graph/README.md
Public attributes
std::size_t capacity = 0Plan size; the live count must not exceed it.
std::function< std::size_t()> hostPolled once per run when set; overrides capacity as the count.
const Buffer< std::uint32_t > * device = nullptrResidency::Host slot a predecessor wrote the live count into.
Borrowed, not owned: this LateCount only observes it, so the buffer it points to must outlive every graph this LateCount is passed to.
std::size_t device_index = 0Element index of the live count within device.

