cuda::experimental::stf::pin#

template<typename T, typename ...P>
bool cuda::experimental::stf::pin(
mdspan<T, P...> &s,
)#

Pins a slice in host memory for efficient use with CUDA primitives.

Template Parameters:
  • T – memory type

  • dimensions – slice dimension

Parameters:

s – slice to pin