cuda::experimental::stf::unpin#
-
template<typename T, typename ...P>
void cuda::experimental::stf::unpin(
)# Unpin the memory associated with an mdspan object.
unpin_memorysilently ignores regions that are not currently registered, so this is safe on fully- or partially-pinned slices (e.g. apin()that failed partway and rolled back, or an already-unpinned slice).- Template Parameters:
T – The type of elements in the mdspan.
P – The properties of the mdspan.
- Parameters:
s – The mdspan object to unpin memory for.