e0b6c6b8

By: ValentinHirschi <valentin.hirschi@gmail.com>

reuse intermediate reductions and add explicit cache transfers