monolish  0.16.2
MONOlithic LInear equation Solvers for Highly-parallel architecture
Functions
monolish::vml::add

element by element addition Dense matrix A and Dense matrix B. More...

Functions

void monolish::vml::add (const matrix::Dense< double > &A, const matrix::Dense< double > &B, matrix::Dense< double > &C)
 element by element addition Dense matrix A and Dense matrix B. More...
 
void monolish::vml::add (const matrix::Dense< float > &A, const matrix::Dense< float > &B, matrix::Dense< float > &C)
 

Detailed Description

element by element addition Dense matrix A and Dense matrix B.

Function Documentation

◆ add() [1/2]

void monolish::vml::add ( const matrix::Dense< double > &  A,
const matrix::Dense< double > &  B,
matrix::Dense< double > &  C 
)

element by element addition Dense matrix A and Dense matrix B.

Parameters
Amonolish Dense Matrix (size M x N)
Bmonolish Dense Matrix (size M x N)
Cmonolish Dense Matrix (size M x N)
Note
  • # of computation: M*N
  • Multi-threading: true
  • GPU acceleration: true
    • # of data transfer: 0

◆ add() [2/2]

void monolish::vml::add ( const matrix::Dense< float > &  A,
const matrix::Dense< float > &  B,
matrix::Dense< float > &  C 
)