BLAS level 3: lower-level API

Overview

Argument validation and workspace queries behind the level-3 entry points.

Functions

◆ trsm_validate_params()

template<typename T>
void batchlas::trsm_validate_params ( const MatrixView< T, MatrixFormat::Dense > & A,
const MatrixView< T, MatrixFormat::Dense > & B,
Side side,
Uplo uplo,
Transpose transA,
Diag diag )
inline

Host-side argument check that trsm runs on every backend before kernel selection.

With m = B.rows() and n = B.cols(), requires m, n >= 0; valid enum values for side, uplo, transA and diag; A square of order m (Left) or n (Right) with A.ld() >= max(1, order); B.ld() >= max(1, m); and A and B with the same batch size. Reads only the views' shape metadata, never their data.

Parameters
Atriangular operand
Bright-hand sides
sideSide::Left or Side::Right
uploUplo::Lower or Uplo::Upper
transANoTrans, Trans or ConjTrans
diagDiag::NonUnit or Diag::Unit
Exceptions
batchlas::invalid_argumentnaming the first violated requirement

Definition at line 52 of file trsm.hh.