cuda::experimental::stf::pin#
-
template<typename T, typename ...P>
bool cuda::experimental::stf::pin(
)# Pins a slice in host memory for efficient use with CUDA primitives.
- Template Parameters:
T – memory type
P – slice properties
- Parameters:
s – slice to pin
- Returns:
true if the slice was newly pinned, false if it was already pinned