How do I determine if a program is using GPU acceleration

Why is the GPU still slow when I run the face_recognition example?
Must jetson_clocks be set?
How to determine whether GPU acceleration is enabled by dlib?
Does the built-in OpenCV enable GPU acceleration?


The built-in OpenCV doesn’t enable GPU acceleration.
You can install it from source with this script:

AFAIR, dlib should enable the GPU acceleration.
You can check the GPU utilization with this command:

$ sudo tegrastats

RAM 930/7763MB (lfb 1582x4MB) SWAP 0/3881MB (cached 0MB) CPU [0%@2035,0%@2035,0%@2035,0%@2035,0%@2035,0%@2035] EMC_FREQ 0%@1331 GR3D_FREQ 0%@905 APE 75 MTS fg 0% bg 0% AO@30.5C GPU@30C Tdiode@33.25C PMIC@100C AUX@30C CPU@30C thermal@30.2C Tboard@30C GPU 457/457 CPU 305/305 SOC 1068/1068 CV 0/0 VDDRQ 0/0 SYS5V 1883/1889