unified coding style for coarse-grained parallelism