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

Function daliPrefetchUniform

dali/c_api/c_api.cc:325–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323}
324
325void daliPrefetchUniform(daliPipelineHandle_t pipe_handle, int queue_depth) {
326 auto &pipeline = (*pipe_handle)->pipeline;
327 auto sz = pipeline->GetQueueSizes();
328 if (queue_depth != sz.cpu_size || queue_depth != sz.gpu_size) {
329 DALI_WARN("daliPrefetchUniform is deprecated and setting queue_length different than"
330 " the one set in the pipeline has no effect. Use daliPrefetch instead.");
331 }
332 pipeline->Prefetch();
333}
334
335
336void daliPrefetchSeparate(daliPipelineHandle_t pipe_handle,

Callers 2

TYPED_TESTFunction · 0.85
TestForceFlagRunFunction · 0.85

Calls 2

GetQueueSizesMethod · 0.45
PrefetchMethod · 0.45

Tested by 2

TYPED_TESTFunction · 0.68
TestForceFlagRunFunction · 0.68