GpuFunctionInvoke pattern
Support for Gpu functions with > 1 arguments.