6#include <src/util/internal-api.hh>
Non-owning view of a batch of matrices: the argument type of every entry point.
Enumerations, scalar traits and scalar concepts shared by every public header.
Transpose
The operator op() applied to an operand: op(A) = A, A^T or A^H.
Diag
Whether a triangular operand's diagonal is read or assumed to be one.
Uplo
Which triangle of a symmetric, Hermitian or triangular operand is referenced.
Side
Side on which a special operand multiplies: op(A) * B or B * op(A).
The batched containers: Matrix (owning), MatrixView (non-owning), KernelMatrixView (device-side),...
BATCHLAS_INTERNAL_API Event potrs_fused_dispatch(Queue &ctx, const MatrixView< T, MatrixFormat::Dense > &A, const MatrixView< T, MatrixFormat::Dense > &B, Uplo uplo)
std::function< Event( Queue &, const MatrixView< T, MatrixFormat::Dense > &, const MatrixView< T, MatrixFormat::Dense > &, T, Side, Uplo, Transpose, Diag)> GetrsSolveTrsm
BATCHLAS_INTERNAL_API std::size_t getrs_fused_max_rhs_elems(std::size_t slm_budget_bytes)
BATCHLAS_INTERNAL_API int getrs_perm_spelling_debug(Queue &ctx, int n, int nrhs)
BATCHLAS_INTERNAL_API std::size_t getrs_fused_buffer_size(Queue &ctx, const MatrixView< T, MatrixFormat::Dense > &A, const MatrixView< T, MatrixFormat::Dense > &B, Transpose transA)
constexpr int64_t kGetrsFusedMaxRhs
BATCHLAS_INTERNAL_API Event getrs_blocked_dispatch(Queue &ctx, const MatrixView< T, MatrixFormat::Dense > &A, const MatrixView< T, MatrixFormat::Dense > &B, Transpose transA, Span< int64_t > pivots, Span< std::byte > workspace, GetrsSolveTrsm< T > solve_trsm={})
constexpr int kGetrsPermGatherMinNrhs
BATCHLAS_INTERNAL_API bool getrs_blocked_available()
BATCHLAS_INTERNAL_API std::size_t getrs_blocked_buffer_size(Queue &ctx, const MatrixView< T, MatrixFormat::Dense > &A, const MatrixView< T, MatrixFormat::Dense > &B, Transpose transA)
BATCHLAS_INTERNAL_API Event getrs_fused_dispatch(Queue &ctx, const MatrixView< T, MatrixFormat::Dense > &A, const MatrixView< T, MatrixFormat::Dense > &B, Transpose transA, Span< int64_t > pivots, Span< std::byte > workspace)
BATCHLAS_INTERNAL_API bool getrs_fused_available()
Completion handle of enqueued work, returned by every entry point.
Event()
An empty Event, already complete.
Where BatchLAS work runs: a device, a backend, an ordered SYCL queue and a workspace arena.
Non-owning view of size() contiguous elements of type T.
batchlas::Device, batchlas::Event and batchlas::Queue: where work runs and how it is ordered.
batchlas::Span, the non-owning pointer + length every entry point takes for 1-D data.