[DeepStream 6.0GA] Patch for the perf regression of objectDetector_Yolo sample

• Hardware Platform (Jetson / GPU) dGPU, Jetson
• DeepStream Version DeepStream 6.0GA

Attached
DS6.0GA_objectDetector_Yolo_perf_regression.patch (2.5 KB) is patch to fix the perf regression issue of objectDetector_Yolo sample for both dGPU and Jetson platforms

Below are the steps to apply it.

$ cd /opt/nvidia/deepstream/deepstream-6.0/sources/objectDetector_Yolo/
$ patch -p1 < DS6.0GA_objectDetector_Yolo_perf_regression.patch
$ export CUDA_VER= // specify the CUDA version, e.g. export CUDA_VER=11.4
$ make -C nvdsinfer_custom_impl_Yolo

Thanks @ adventuredaisy for reporting this issue (here)! :)