NVIDIA Interview Question

How to optimize your code in cache friendly way?