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

Method get_num_threads

dali/operators/imgcodec/image_decoder.h:416–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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.
418 // this allows nvimgcodec accessing number of threads before the thread pool is available
419 return num_threads_;
420 }
421
422 static nvimgcodecStatus_t static_schedule(void *instance, int device_id, int sample_idx,
423 void *task_context,

Callers 2

test_get_set_num_threadsFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_get_set_num_threadsFunction · 0.64