more ideas for mapping a function across a vector via gpu