Original Post
Does anyone know a good way to prefetch a memory block in C... Is there a way to tell the computer:
I''ll need this adress in a moment so put it in the cache
Thanx a lot
Jc
quote:
Original post by Jan Wassenberg
...It is enough to simply loop over your buffer, and ''touch'' (read) one location per cache line - when going to main memory, the processor reads the entire line....
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more