Previous | Next --- Slide 23 of 64
Back to Lecture Thumbnails
gogogo

How would a compiler be able to determine data locality in programs?

ferozenaina

A DSL would have information very specific to the data structures being used. In Liszt, we know the stencil of a variable. A stencil defines all the other values that can be accessed from the variable. My understanding is that when compiling, it would ensure data locality by creating data structures which keep the stencil values nearby.