cuda::experimental::stf::get_device_from_stream#

inline int cuda::experimental::stf::get_device_from_stream(
cudaStream_t stream,
)#

This computes the CUDA device in which the stream was created.