numerics
Loading...
Searching...
No Matches
num::backends::gpu Namespace Reference

Functions

void scale (Vector &v, real alpha)
 
void axpy (real alpha, const Vector &x, Vector &y)
 
real dot (const Vector &x, const Vector &y)
 
real norm (const Vector &x)
 
void matmul (const Matrix &A, const Matrix &B, Matrix &C)
 
void matvec (const Matrix &A, const Vector &x, Vector &y)
 

Function Documentation

◆ axpy()

void num::backends::gpu::axpy ( real  alpha,
const Vector x,
Vector y 
)

◆ dot()

real num::backends::gpu::dot ( const Vector x,
const Vector y 
)

◆ matmul()

void num::backends::gpu::matmul ( const Matrix A,
const Matrix B,
Matrix C 
)

Definition at line 13 of file matrix.cpp.

References num::ipow(), num::backends::seq::matmul(), and num::cuda::matmul().

Referenced by num::matmul().

◆ matvec()

void num::backends::gpu::matvec ( const Matrix A,
const Vector x,
Vector y 
)

◆ norm()

real num::backends::gpu::norm ( const Vector x)

◆ scale()

void num::backends::gpu::scale ( Vector v,
real  alpha 
)