Next: Reordering task IDs, Previous: Delaying execution, Up: Other statements [Contents][Index]
“Touching” memory means reading and writing it. The coNCePTuaL
TOUCHES
statement enables a program to touch memory
for one of two purposes: either to simulate computation in an
application by thrashing some or all of the memory hierarchy or to
preload message buffers into the upper levels of the memory
hierarchy in order to better separate communication costs from
memory costs.
• Simulating computation: | Touching memory to mimic computation | |
• Priming message buffers: | Touching memory to warm up message buffers |