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

Method GetThreadPool

dali/operators/imgcodec/image_decoder.h:511–513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509 }
510
511 ThreadPool *GetThreadPool(const Workspace &ws) {
512 return std::is_same<MixedBackend, Backend>::value ? thread_pool_.get() : &ws.GetThreadPool();
513 }
514
515 bool SetupImpl(std::vector<OutputDesc> &output_desc, const Workspace &ws) override {
516 return false;

Callers 15

RunImplTypedMethod · 0.80
ElementCopyMethod · 0.80
RunImplMethod · 0.80
RunImplMethod · 0.80
RunResizeMethod · 0.80
RunImplMethod · 0.80
RunBackendMethod · 0.80
RunImplMethod · 0.80
RunImplMethod · 0.80
RunImplMethod · 0.80
RunImplMethod · 0.80
RunImplMethod · 0.80

Calls 1

getMethod · 0.45

Tested by 8

RunImplMethod · 0.64
SetupImplMethod · 0.64
RunImplMethod · 0.64
RunImplMethod · 0.64
RunCpuInputMethod · 0.64
RunImplMethod · 0.64
RunImplMethod · 0.64
RunImplMethod · 0.64