switcherooctl
Launch a command on a specific GPU. tldr-pages
On Linux
Linux
Enable the switcheroo service
systemctl start switcheroo-controlIdentifyList known GPUs
switcherooctlIdentifyLaunch a command on the first discrete GPU
switcherooctl launch commandIdentifyLaunch a command on a specific GPU
switcherooctl launch --gpu device_number commandIdentifyDisplay help
switcherooctl helpIdentify