How to Force Any Linux Application to Use a Specific NVIDIA GPU (CUDA, Vulkan, OpenGL, and OpenCL)
Control exactly which GPU your app uses on Linux. This guide shows how to route CUDA, OpenCL, Vulkan, and OpenGL workloads to a specific RTX 2080 Ti, with practical commands, scripts, and troubleshooting tips.