Contents

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 = 1

Total work-items launched; always a multiple of local_size.

std::size_t local_size = 1

Work-items per work-group.

Public member functions

sycl::nd_range< 1 > nd_range() const noexcept

The nd_range to hand to parallel_for.

std::size_t stride() const noexcept

The step a grid-stride loop advances by; equals global_size.

std::size_t groups() const noexcept

Number of work-groups in the launch.