MCPcopy Create free account
hub / github.com/NVIDIA/DALI / GetRunnable

Method GetRunnable

dali/pipeline/executor/executor2/exec_node_task.cc:494–500  ·  view source on GitHub ↗

Gets a functor that returns an output Workspace compatible with DALI pipeline. */

Source from the content-addressed store, hash-verified

492 /** Gets a functor that returns an output Workspace compatible with DALI pipeline.
493 */
494 auto GetRunnable() && {
495 assert(node_->is_pipeline_output);
496 return [self = std::move(*this)](tasking::Task *t) mutable {
497 self.task_ = t;
498 return self.Run();
499 };
500 }
501 private:
502 friend class ExecNodeTask;
503 using ExecNodeTask::ExecNodeTask;

Callers

nothing calls this directly

Calls 1

RunMethod · 0.45

Tested by

no test coverage detected