7#include <batchlas/export.hh>
23using orgqr =
Event(Queue&,
24 const MatrixView<T, MatrixFormat::Dense>&,
28using orgqr_buffer_size = size_t(Queue&,
29 const MatrixView<T, MatrixFormat::Dense>&,
34using orgqr_vendor =
Event(Queue&,
35 const MatrixView<T, MatrixFormat::Dense>&,
40using orgqr_vendor_buffer_size = size_t(Queue&,
41 const MatrixView<T, MatrixFormat::Dense>&,
58 "ORGQR: Matrix dimensions cannot be negative (rows=" +
59 std::to_string(A.
rows()) +
", cols=" + std::to_string(A.
cols()) +
")");
87template <Backend B,
typename T>
95template <Backend B,
typename T>
109template <Backend B,
typename T>
118template <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 orgqr_vendor(Queue &ctx, const MatrixView< T, MatrixFormat::Dense > &A, Span< T > tau, Span< std::byte > workspace)
Vendor arm of orgqr(); called by the public orgqr(), not by users.
size_t orgqr_vendor_buffer_size(Queue &ctx, const MatrixView< T, MatrixFormat::Dense > &A, Span< T > tau)
Workspace query of the vendor arm of orgqr().
size_t orgqr_buffer_size(Queue &ctx, const MatrixView< T, MatrixFormat::Dense > &A, Span< T > tau)
Workspace, in bytes, that orgqr() needs for this shape on this queue.
void orgqr_validate_params(const MatrixView< T, MatrixFormat::Dense > &A)
Validates the arguments of the positional orgqr() entry point.
Event orgqr(Queue &ctx, const MatrixView< T, MatrixFormat::Dense > &A, Span< T > tau, Span< std::byte > workspace)
Batched formation of the first n columns of Q from geqrf() output.
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.