Create a wrapper function that dispatches to either the device or host implementation.
create_wrapper.Rd
This produces a wrapper function that will call either {name}_host
or
{name}_device
. The wrapper has a system
named argument that is used to
choose the implementation. All other arguments are forwarded to the
underlying function.