Domanda di colloquio di NVIDIA

How do you keep hardware registers from being cached?

Risposte di colloquio

Anonimo

5 mag 2017

Use the volatile keyword when memory mapping the hardware register to a variable. This way software always 'sees' the unchached value of the register.

1

Anonimo

12 set 2014

There is a map register that excludes some memory regions.

1