Contents

struct

SushiBLAS::Dispatch::ReductionScratch

template <typename T>

Holds a device buffer a reduction may stage per-work-group partials in.

Declared in
include/SushiBLAS/engine/math/reductions/dispatch.hpp

Template parameters

T

The partial type: Reduce::AccumulationOf the element type, or INT64 for a count.

See also

include/SushiBLAS/engine/math/README.md

Public attributes

T * data = nullptr

The partials buffer, or null when none was requested.

std::size_t capacity = 0

How many values data can hold; 0 when there is none.