Is there a way to flush allocated GPU resources before starting a new function call within the same program execution.
I am processing images from videos on GPU. I want to clean up allocated GPU resources after completing one video stream and before starting the processing of the next video stream.
Regards,