struct
SushiBLAS::Device::Grid1D
Holds the launch geometry of a one-dimensional grid-stride kernel.
- Declared in
include/SushiBLAS/support/device_policy.hpp
See also
include/SushiBLAS/support/README.md
Public attributes
std::size_t global_size = 1Total work-items launched; always a multiple of local_size.
std::size_t local_size = 1Work-items per work-group.
Public member functions
sycl::nd_range< 1 > nd_range() const noexceptThe nd_range to hand to parallel_for.
std::size_t stride() const noexceptThe step a grid-stride loop advances by; equals global_size.
std::size_t groups() const noexceptNumber of work-groups in the launch.

