CUDA env variables

Visible Devices

Linux

export CUDA_VISIBLE_DEVICES=

Windows

Cmd

set CUDA_VISIBLE_DEVICES=

PowerShell

$env:CUDA_VISIBLE_DEVICES=1

Last updated

Was this helpful?