|
Uni20
Asynchronous tensor and runtime library.
|
#include <uni20/config.hpp>#include "linear_solve.hpp"#include <uni20/linalg/backends/lu_common.hpp>Go to the source code of this file.
Namespaces | |
| namespace | uni20 |
| namespace | uni20::linalg |
Functions | |
| template<MutableRankedStridedMdspecLike< 2 > A> requires HostWritableMdspec<A> && LapackScalar<typename A::value_type> && DefaultAccessorMdspanLike<host_write_mdspan_t<A>> | |
| consteval auto | uni20::linalg::kernel_accepts_types (LapackBackend, lu_factor_op const &, A &, std::span< std::size_t >, LuNorms< make_real_t< typename A::value_type > > *, SolveInfo &, SolveOptions< make_real_t< typename A::value_type > > const &) |
| Accept directly addressable native LAPACK LU workspaces. | |
| template<RankedStridedMdspecLike< 2 > A, MutableRankedStridedMdspecLike< 2 > B> requires HostReadableMdspec<A> && HostWritableMdspec<B> && LapackScalar<typename A::value_type> && std::same_as<typename A::value_type, typename B::value_type> && DefaultAccessorMdspanLike<host_read_mdspan_t<A>> && DefaultAccessorMdspanLike<host_write_mdspan_t<B>> | |
| consteval auto | uni20::linalg::kernel_accepts_types (LapackBackend, lu_solve_op const &, A &, std::span< std::size_t const >, B &, SolveInfo &) |
| Accept directly addressable read-only factors and a writable RHS. | |
| template<MutableRankedStridedMdspecLike< 2 > A> requires HostWritableMdspec<A> && LapackScalar<typename A::value_type> && DefaultAccessorMdspanLike<host_write_mdspan_t<A>> | |
| KernelAttempt | uni20::linalg::try_kernel (LapackBackend, lu_factor_op const &, A &a, std::span< std::size_t > pivots, LuNorms< make_real_t< typename A::value_type > > *norms, SolveInfo &info, SolveOptions< make_real_t< typename A::value_type > > const &options) |
| Compute packed factors through GETRF, preserving all outputs on decline. | |
| template<RankedStridedMdspecLike< 2 > A, MutableRankedStridedMdspecLike< 2 > B> requires HostReadableMdspec<A> && HostWritableMdspec<B> && LapackScalar<typename A::value_type> && std::same_as<typename A::value_type, typename B::value_type> && DefaultAccessorMdspanLike<host_read_mdspan_t<A>> && DefaultAccessorMdspanLike<host_write_mdspan_t<B>> | |
| KernelAttempt | uni20::linalg::try_kernel (LapackBackend, lu_solve_op const &, A &a, std::span< std::size_t const > pivots, B &b, SolveInfo &info) |
| Apply GETRS without modifying the factors. | |