batchlas::JacobiParams< T > Struct Template Reference

Overview

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

Parameters for syev_jacobi_cta() (cyclic two-sided Jacobi).

Definition at line 1307 of file extensions.hh.

#include <batchlas/blas/extensions.hh>

Types

◆ Real

template<typename T>
using batchlas::JacobiParams< T >::Real = typename base_type<T>::type

Definition at line 1308 of file extensions.hh.

Variables

◆ tol_multiplier

template<typename T>
Real batchlas::JacobiParams< T >::tol_multiplier = Real(1)

A rotation is applied to pivot pair (p,q) only when \( |a_{pq}| > \mathrm{tol\_multiplier} \cdot n \varepsilon \sqrt{|a_{pp}| |a_{qq}|} \).

This relative test, not the classical absolute one, is what yields the high relative accuracy; raising it trades accuracy for sweeps.

Definition at line 1314 of file extensions.hh.

◆ max_sweeps

template<typename T>
size_t batchlas::JacobiParams< T >::max_sweeps = 30

Cap on cyclic sweeps; a safety net for pathological inputs.

Definition at line 1316 of file extensions.hh.

◆ sort

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

Sort eigenpairs on output.

Definition at line 1318 of file extensions.hh.

◆ sort_order

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

Order used when sort is set.

Definition at line 1319 of file extensions.hh.

◆ cta_wg_size_multiplier

template<typename T>
size_t batchlas::JacobiParams< T >::cta_wg_size_multiplier = 1

Multiplies the baseline work-group size, LCM(P, sub_group_size) for the compile-time partition width P chosen from n.

Clamped by device limits.

Definition at line 1323 of file extensions.hh.