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

Method wait

dali/operators/imgcodec/image_decoder.h:410–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408 }
409
410 nvimgcodecStatus_t wait(int device_id) {
411 assert(tp_);
412 tp_->WaitForWork();
413 return NVIMGCODEC_STATUS_SUCCESS;
414 }
415
416 int get_num_threads() const {
417 // For the host backend, the thread pool is not available until we see the first batch.

Callers 5

ProducerWaitMethod · 0.45
ConsumerWaitMethod · 0.45
TEST_PFunction · 0.45
static_waitMethod · 0.45

Calls 1

WaitForWorkMethod · 0.45

Tested by 1

TEST_PFunction · 0.36