A generalized scheme for mapping parallel algorithms | Synapse