WDDM - TCC Mode in Windows - Learn CUDA Programming
WDDM - TCC Mode in Windows - Learn CUDA Programming
Buy eBook
The history of high-performance computing WDDM allows the NVIDIA GPU to cooperate with Windows' WDDM driver, which
(/Book/Programming/9781788996242/1/Ch01lvl1sec01… serves displays. Supporting WDDM mode is a requirement for Windows graphics. On the
other hand, TCC mode only works toward computing. Depending on your GPU products
and configuration, the GPU's mode can be changed.
Operation mode follows four NVIDIA product classes, and its default mode can vary, as
follows:
Quadro/Titan: WDDM mode by default, but can be used in TCC mode too.
https://webcache.googleusercontent.com/search?q=cache:xZCNQwJm0R4J:https://subscription.packtpub.com/book/programming/9781788996242/app01/app01sec02/wddm-tcc-mode-in-windows+&cd=4&hl=en&ct=… 1/3
2/11/2021 WDDM/TCC mode in Windows - Learn CUDA Programming
WDDM mode supports CUDA operations and debugging CUDA applications with Nsight,
while also supporting the display. As a single host machine, you can do everything that the
GPU can. However, TCC mode disables graphics on the graphics driver and enables GPU
BACK as a computing accelerator. In other words, this should be used when the graphics card
does not have to serve displays.
Learn CUDA Programming TCC mode has some benefits over WDDM mode in CUDA processing, as follows:
Ignores Windows' display timeout interval (typically two seconds) to enable kernel
operations that are longer than two seconds
Enables the use of NVIDIA GPUs with non-NVIDIA integrated graphics so that you
can save global memory
Search this title...
Contents Bookmarks ()
Therefore, TCC mode brings optimal configuration for GPUs as accelerators if they do not
serve displays.
Introduction to CUDA Programming
(/BOOK/PROGRAMMING/9781788996242/1)
Setting TCC/WDDM mode
Introduction to CUDA Programming
To change TCC or WDDM mode, use the nvidia-smi utility, as follows:
(/Book/Programming/9781788996242/1)
If you want to set TCC mode for the selected GPUs, use the -g option to specify target
GPUs:
Copy
https://webcache.googleusercontent.com/search?q=cache:xZCNQwJm0R4J:https://subscription.packtpub.com/book/programming/9781788996242/app01/app01sec02/wddm-tcc-mode-in-windows+&cd=4&hl=en&ct=… 2/3
2/11/2021 WDDM/TCC mode in Windows - Learn CUDA Programming
This option is useful when you want to separate the purpose of GPU use for display and
compute. After you've applied these settings, you may want to reboot your machine to
apply these changes.
BACK
We can identify that TCC mode is enabled by using nvidia-smi . The following
screenshot shows GPU operation mode in TCC:
Learn CUDA Programming
By looking at the right-hand side of the GPU name in the first column, we can confirm that
TCC mode is enabled.
(/BOOK/PROGRAMMING/9781788996242/1)
https://webcache.googleusercontent.com/search?q=cache:xZCNQwJm0R4J:https://subscription.packtpub.com/book/programming/9781788996242/app01/app01sec02/wddm-tcc-mode-in-windows+&cd=4&hl=en&ct=… 3/3