struct
SushiRuntime::API::Out
template <typename T>A kernel argument captured for write, with auto dependency tracking.
- Declared in
include/SushiRuntime/api/vocabulary/captures.hpp
Template parameters
TElement type of the wrapped buffer.
Public attributes
T * ptrElement pointer handed to the kernel.
void * keyWrite dependency key for this argument.
Core::LivenessObserver lifeObserver of the captured buffer's lifetime.
Static public attributes
static constexpr bool reads = falseContributes no read key.
static constexpr bool writes = trueContributes a write key.
Public member functions
Out(Buffer< T > &b)Captures b as a write-only kernel argument.
Parameters
bBuffer to write; must outlive every run that uses the task.

