cuda::experimental::stf::contiguous_dims

Defined in include/cuda/experimental/__stf/internal/slice.cuh

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