|
Uni20
Asynchronous tensor and runtime library.
|
#include "basic_tensor.hpp"Go to the source code of this file.
Namespaces | |
| namespace | uni20 |
Functions | |
| template<TensorView Input> | |
| auto | uni20::at_precision (Input const &input, Precision p) |
| Materialize an owning tensor with every element converted to p. | |
| template<TensorView A, TensorView B> | |
| constexpr Precision | uni20::common_default_precision (A const &a, B const &b) |
| Select a binary operation's default without inspecting element precisions. | |
| template<TensorView Input> | |
| constexpr Precision | uni20::precision_of (Input const &input) |
| Resolve a tensor's default without reading elements; fixed types use native precision. | |