cuda::experimental::stf::tiled

Defined in include/cuda/experimental/__stf/places/tiled_partition.cuh

template<size_t tile_size, typename mdspan_shape_t>
auto cuda::experimental::stf::tiled(const mdspan_shape_t s, size_t part_id, size_t nparts)

Tiled partition strategy applied on a shape of mdspan.

Since there is no partial template deduction on classes, we provide a function to implement tiled<tile_size> and have the other type deduced.

Template Parameters
  • <tt>tile_size</tt> – size of the tiles

  • <tt>mdspan_shape_t</tt> – shape of a mdspan