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

Method AddWork

include/dali/core/exec/thread_pool_base.h:351–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349
350 template <typename FunctionLike>
351 void AddWork(FunctionLike &&f, int64_t priority = 0) {
352 job_.AddTask(std::forward<FunctionLike>(f), priority);
353 }
354
355 void RunAll() {
356 job_.Run(tp_, true);

Callers

nothing calls this directly

Calls 1

AddTaskMethod · 0.45

Tested by

no test coverage detected