Contents

class

SushiAI::Graph::IStepRecorder

Device work recorded into the compiled step rather than flushed alone.

Declared in
include/SushiAI/graph/step_recorder.hpp

Records replay-invariant tasks into the graph builder before compilation.

Public member functions

virtual ~IStepRecorder()=default
virtual std::size_t record_into_step()=0

Records this work into the engine's task-graph builder.

Called once before the step's single compile call.

Returns

Count of recorded device tasks.

virtual void before_replay()

Refreshes state varying between replays on host.

Executes before plan dispatch without recording device work.

virtual void after_replay()

Runs after the replay has completed and been waited on.