A Framework for Compile-Time Selection of Parallel Modes in an Simd/spmd Heterogeneous Environment | IEEE Conference Publication | IEEE Xplore