cuda::experimental::stf::contiguous_dims#

template<typename S>
size_t cuda::experimental::stf::contiguous_dims(
const S &span,
)#

Compute how many dimensions of a slice are actually contiguous.

Template Parameters:
  • T – Base type for the slice

  • dimensions

Parameters:

span

Returns:

size_t