Synergy between Compiler Optimizations and Partitioning on the Cell processor