Question d’entretien chez NVIDIA

How do you keep hardware registers from being cached?

Réponses aux questions d'entretien

Utilisateur anonyme

5 mai 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

Utilisateur anonyme

12 sept. 2014

There is a map register that excludes some memory regions.

1