Lists how much GPU a module is allowed to use.
The selected mode sets a floor that cannot be avoided: POSITIONAL_TRACKING_MODE.GEN_1 computes depth and therefore always uses the GPU. This preference only controls the work that is optional on top of that floor.
| Enumerator | |
| AUTO | Default. Let the SDK choose. For positional tracking, GEN_3 runs on the CPU and GEN_1 uses the GPU, since it computes depth. |
| PREFER_CPU | Use no more GPU than the selected mode requires, leaving the GPU free for your own workloads. Tracking is slower than with GPU acceleration. |
| PREFER_GPU | Use GPU acceleration wherever it is available, which makes tracking faster and lowers the per-frame grab time. Falls back to the CPU by itself if the GPU cannot be used. |
| PREFER_ACCELERATORS | Experimental. Run work on the device's dedicated accelerators where there are some, leaving the CPU and the GPU free, and decide the rest as AUTO. For positional tracking, POSITIONAL_TRACKING_MODE.GEN_3 then runs its image preprocessing and feature tracking on the PVA of a Jetson AGX Orin or Orin NX (JetPack 6 or 7.2) or of a Jetson Thor (JetPack 7.2), for the same poses as on the CPU: it uses less CPU, and can add latency (about 2 ms per frame with JetPack 7.2). Elsewhere it is AUTO. |