I have built OpenCV3.1 with CUDA enabled, and it all works well. But I don’t know if my codes are accelerated with GPU, some documents mentioned that OpenCV3.1 is different from OpenCV2.4 that lib is already built with gpu accelerate.
So my questions are:
How can I know if my code is running on GPU?
Do I need special code to enable GPU/CUDA accelerate in python+OpenCV3.1?
How can I disable GPU accelerate if it is already enabled in lib? Build another openCV with CUDA=OFF?