geqrf.hh
Go to the documentation of this file.
1#pragma once
2
6
7#include <src/util/internal-api.hh>
8
9#include <cstddef>
10
11namespace batchlas {
12
13/// The largest workspace of every family this device can run at A, for callers that size once at a
14/// bounding shape and factor sub-views. `evidence: docs/design/flat-kernel-selection.md#phase-5-geqrf`
15template <Backend B, typename T> /// @ingroup api_selection_ops
16BATCHLAS_INTERNAL_API std::size_t geqrf_buffer_size_bound(Queue& ctx, const MatrixView<T, MatrixFormat::Dense>& A,
17 Span<T> tau);
18
19} // namespace batchlas
Non-owning view of a batch of matrices: the argument type of every entry point.
Definition matrix.hh:485
BATCHLAS_INTERNAL_API std::size_t geqrf_buffer_size_bound(Queue &ctx, const MatrixView< T, MatrixFormat::Dense > &A, Span< T > tau)
The largest workspace of every family this device can run at A, for callers that size once at a bound...
The batched containers: Matrix (owning), MatrixView (non-owning), KernelMatrixView (device-side),...
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.
Definition sycl-span.hh:39
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.