cuda::experimental::stf::get_device_from_stream
Defined in include/cuda/experimental/__stf/utility/stream_to_dev.cuh
-
inline int cuda::experimental::stf::get_device_from_stream(cudaStream_t stream)
This computes the CUDA device in which the stream was created.