NVIDIA Interview Question

How do you keep hardware registers from being cached?

Interview Answers

Anonymous

May 5, 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

Anonymous

Sep 12, 2014

There is a map register that excludes some memory regions.

1