Setting the Preemption Type#
High-Priority Applications#
For high-priority applications, set the timeslice large enough that all work can complete. The recommended Compute-Instruction-Level-Preemption (CILP) setting for graphics and for compute is a preemption type of Wait-For-Idle (WFI). This ensures CILP will not be hit because NVIDIA® CUDA® kernels will have completed.
Medium-Priority Applications#
The recommended setting for medium-priority applications is a preemption type enabled for graphics (GFXP) and compute (CILP). For applications that can complete in their timeslice, context-switch overhead is minimal because the GPU is in an idled state.
Low-Priority Applications#
For low-priority applications, always enable graphics and compute preemption because workloads are unpredictable.