7#include <batchlas/export.hh>
23using geqrf =
Event(Queue&,
24 const MatrixView<T, MatrixFormat::Dense>&,
28using geqrf_buffer_size = size_t(Queue&,
29 const MatrixView<T, MatrixFormat::Dense>&,
34using geqrf_vendor =
Event(Queue&,
35 const MatrixView<T,MatrixFormat::Dense>&,
40using geqrf_vendor_buffer_size = size_t(Queue&,
41 const MatrixView<T,MatrixFormat::Dense>&,
60 "GEQRF: Matrix dimensions cannot be negative (rows=" +
61 std::to_string(A.
rows()) +
", cols=" + std::to_string(A.
cols()) +
")");
89template <Backend B,
typename T>
97template <Backend B,
typename T>
112template <Backend B,
typename T>
121template <Backend B,
typename T>
Non-owning view of a batch of matrices: the argument type of every entry point.
int rows() const
Rows per item (the capacity on a heterogeneous batch).
int cols() const
Columns per item (the capacity on a heterogeneous batch).
The call violates the API contract.
Enumerations, scalar traits and scalar concepts shared by every public header.
Event geqrf_vendor(Queue &ctx, const MatrixView< T, MatrixFormat::Dense > &A, Span< T > tau, Span< std::byte > work_space)
Vendor arm of geqrf(); called by geqrf() when it selects the vendor kernel family,...
size_t geqrf_vendor_buffer_size(Queue &ctx, const MatrixView< T, MatrixFormat::Dense > &A, Span< T > tau)
Workspace query of the vendor arm of geqrf().
size_t geqrf_buffer_size(Queue &ctx, const MatrixView< T, MatrixFormat::Dense > &A, Span< T > tau)
Workspace, in bytes, that geqrf() needs for this shape on this queue.
void geqrf_validate_params(const MatrixView< T, MatrixFormat::Dense > &A)
Validates the arguments of the positional geqrf() entry point.
Event geqrf(Queue &ctx, const MatrixView< T, MatrixFormat::Dense > &A, Span< T > tau, Span< std::byte > work_space)
Batched Householder QR factorization .
The batched containers: Matrix (owning), MatrixView (non-owning), KernelMatrixView (device-side),...
Span(T *, typename Span< T >::size_t) -> Span< T >
Backend deduction from the Queue and the USM pointer check.
#define BATCHLAS_DISPATCH_ON_QUEUE(NAME)
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.