Eliminate host_function, device_function, and host_device_function in favor of a single wrapped_function.