Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Namespaces | Concepts | Functions
level1.hpp File Reference

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>
Include dependency graph for level1.hpp:
This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

Checked cuBLAS dot-product and Euclidean-norm wrappers.