Code generation for multi-phase tasks on multicore with distributed memory

Paper link