cuda::experimental::stf::shape_of

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

class shape_of

Abstraction for the shape of a structure such as a multidimensional view, i.e.

everything but the data itself. A type to be used with cudastf must specialize this template.

Any specialization must be default constructible, copyable, and assignable. The required methods are constructor from const T&. All other definitions are optional and should provide full information about the structure (“shape”) of an object of type T, without actually allocating any data for it.

Template Parameters

T – The data corresponding to this shape.

Subclassed by cuda::experimental::stf::shape_of< hashtable >, cuda::experimental::stf::shape_of< mdspan< T, P… > >, cuda::experimental::stf::shape_of< void_interface >