cuda::experimental::stf::from_index#

inline data_place cuda::experimental::stf::from_index(size_t n)#

Declaration for unqualified lookup (friend is only found via ADL when a data_place argument is present).

Inverse of to_index: converts an index back to a data_place.

Index 0 -> managed, 1 -> host, 2 -> device(0), 3 -> device(1), …