Using gpumodeswitch
gpumodeswitch
DU-07764-001
| 6
working directory (if the current working directory is writable). To change the path on
which the log file is written, use the
--outfilepath
option:
# gpumodeswitch --listgpumodes --outfilepath /tmp/
Note:
when using the bundled Linux bootable images (see section 2.4), the system
boots into a read-only file system. Log files can be generated by using the
outfilepath
option to write the log files into
/tmp
.
The log file summarizes GPU modes:
# more /tmp/listgpumodes.txt
GPU ID:
PLX (8747h) (10B5,8747,10B5,8747) H:--:NRM S:00,B:81,PCI,D:00,F:00
GPU Mode: N/A
GPU ID:
Tesla M60 (10DE,13F2,10DE,113A) H:82:SP8 S:00,B:83,PCI,D:00,F:00
GPU Mode: Graphics
GPU ID:
Tesla M60 (10DE,13F2,10DE,113A) H:82:SP16 S:00,B:84,PCI,D:00,F:00
GPU Mode: Graphics
#
2.3.2
Switching GPU modes
To switch a GPU’s mode, use the
--gpumode
command:
--gpumode graphics
switches
to graphics mode,
--gpumode compute
switches to compute mode.
2.3.2.1
Switching all GPUs
By default, the command works on all supported GPUs in the platform; confirm the
mode switch by entering ‘y’:
# gpumodeswitch --gpumode graphics
NVIDIA GPU Mode Switch Utility Version 1.02
Copyright (C) 2015, NVIDIA Corporation. All Rights Reserved.
Update GPU Mode of all adapters to "graphics"?
Press 'y' to confirm or 'n' to choose adapters or any other key to abort:
y
Updating GPU Mode of all eligible adapters to "graphics"
PLX (8747h) (10B5,8747,10B5,8747) H:--:NRM S:00,B:81,PCI,D:00,F:00
Adapter: PLX (8747h) (10B5,8747,10B5,8747) H:--:NRM S:00,B:81,PCI,D:00,F:00
Identifying EEPROM...
EEPROM ID (47,8747) : uChip 25AA320A 1.8-5.5V 4Kx8S, page
Cannot set GPU mode for this adapter