| 323 | } |
| 324 | |
| 325 | void 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 | |
| 336 | void daliPrefetchSeparate(daliPipelineHandle_t pipe_handle, |