|
Uni20
Asynchronous tensor and runtime library.
|
Checked cuBLAS dot-product and Euclidean-norm wrappers. More...
#include <uni20/backend/backend.hpp>#include <uni20/backend/cublas/cublas_error.hpp>#include <uni20/backend/cublas/execution.hpp>#include <uni20/common/trace.hpp>#include <uni20/core/scalar_traits.hpp>#include <uni20/core/types.hpp>#include <cuComplex.h>#include <cublas_v2.h>#include <concepts>#include <type_traits>Go to the source code of this file.
Namespaces | |
| namespace | uni20 |
| namespace | uni20::cublas |
Concepts | |
| concept | uni20::cublas::CublasLevelOneScalar |
| Scalar types supported by the cuBLAS level-one wrappers. | |
Functions | |
| template<CublasLevelOneScalar Scalar> | |
| auto | uni20::cublas::dotc (ExecutionLease &execution, int size, Scalar const *lhs, Scalar const *rhs) -> Scalar |
| Compute the conjugate-linear dot product and return a host scalar. | |
| template<CublasLevelOneScalar Scalar> | |
| auto | uni20::cublas::nrm2 (ExecutionLease &execution, int size, Scalar const *input) -> uni20::make_real_t< Scalar > |
| Compute a Euclidean norm and return a host real scalar. | |
Checked cuBLAS dot-product and Euclidean-norm wrappers.