WIP: wrapping GPU routines

Change-Id: I458ffb1ce704bd90ec54658d7220e1a976801f5a