Add host_to_device, device_to_host function with cuda stream