template specialization of wrapper routine for elemental