batchlas::SteqrParams< T > Struct Template Reference

Overview

template<typename T>
struct batchlas::SteqrParams< T >

Parameters for steqr() and steqr_cta(), and for stedc()'s leaf solves.

Definition at line 880 of file extensions.hh.

#include <batchlas/blas/extensions.hh>

Variables

◆ block_size

template<typename T>
size_t batchlas::SteqrParams< T >::block_size = 32

Rotations are applied in blocks of this size; larger means excess FLOPs but better memory reuse.

1 fully serialises them.

Definition at line 883 of file extensions.hh.

◆ max_sweeps

template<typename T>
size_t batchlas::SteqrParams< T >::max_sweeps = 50

Cap on Francis QR sweeps; 2-3 typically suffice per eigenvalue.

Definition at line 884 of file extensions.hh.

◆ back_transform

template<typename T>
bool batchlas::SteqrParams< T >::back_transform = false

If false, the eigenvector matrix is set to the identity and the rotations are applied to it; if true, they are applied to the caller's matrix (a back-transform).

Definition at line 887 of file extensions.hh.

◆ block_rotations

template<typename T>
bool batchlas::SteqrParams< T >::block_rotations = false

Apply the rotations in block_size blocks.

Definition at line 888 of file extensions.hh.

◆ sort

template<typename T>
bool batchlas::SteqrParams< T >::sort = true

Sort eigenpairs on output.

Definition at line 889 of file extensions.hh.

◆ transpose_working_vectors

template<typename T>
bool batchlas::SteqrParams< T >::transpose_working_vectors = true

Interleave the working copies of d and e across the batch.

Definition at line 890 of file extensions.hh.

◆ sort_order

template<typename T>
SortOrder batchlas::SteqrParams< T >::sort_order = SortOrder::Ascending

Order used when sort is set.

Definition at line 891 of file extensions.hh.

◆ cta_wg_size_multiplier

template<typename T>
size_t batchlas::SteqrParams< T >::cta_wg_size_multiplier = 0

CTA STEQR only: multiplies the baseline work-group size, LCM(N, sub_group_size).

0 picks a tuned value per scalar type and partition width.

Definition at line 895 of file extensions.hh.

◆ cta_shift_strategy

template<typename T>
SteqrShiftStrategy batchlas::SteqrParams< T >::cta_shift_strategy = SteqrShiftStrategy::Lapack

CTA STEQR only: shift strategy.

Definition at line 897 of file extensions.hh.

◆ cta_update_scheme

template<typename T>
SteqrUpdateScheme batchlas::SteqrParams< T >::cta_update_scheme = SteqrUpdateScheme::EXP

CTA STEQR only: update scheme.

Definition at line 898 of file extensions.hh.