numerics
Loading...
Searching...
No Matches
matrix.cpp File Reference

BLAS backend – cblas level-2/3 matrix operations. More...

#include "core/matrix.hpp"
#include "../seq/impl.hpp"
#include <cstdio>

Go to the source code of this file.

Namespaces

namespace  num
 
namespace  num::backends
 
namespace  num::backends::blas
 

Functions

void num::backends::blas::matmul (const Matrix &A, const Matrix &B, Matrix &C)
 
void num::backends::blas::matvec (const Matrix &A, const Vector &x, Vector &y)
 
void num::backends::blas::matadd (real alpha, const Matrix &A, real beta, const Matrix &B, Matrix &C)
 

Detailed Description

BLAS backend – cblas level-2/3 matrix operations.

Delegates to the system BLAS (OpenBLAS, MKL, Apple Accelerate, ...). When NUMERICS_HAS_BLAS is not defined, falls back to the blocked backend and emits a one-time stderr warning.

Definition in file matrix.cpp.