Functions
Blas.hpp File Reference

Declares the interfaces for the BLAS used. More...

#include <libxsmm.h>
#include "ErrorHandling/Assert.hpp"
#include "Utilities/Gsl.hpp"

Go to the source code of this file.

Functions

double ddot_ (const size_t &N, const double *X, const size_t &INCX, const double *Y, const size_t &INCY)
 
template<bool UseLibXsmm = false>
void dgemm_ (const char &TRANSA, const char &TRANSB, const size_t &M, const size_t &N, const size_t &K, const double &ALPHA, const double *A, const size_t &LDA, const double *B, const size_t &LDB, const double &BETA, double *C, const size_t &LDC)
 Perform a matrix-matrix multiplication. More...
 
template<>
void dgemm_< true > (const char &TRANSA, const char &TRANSB, const size_t &M, const size_t &N, const size_t &K, const double &ALPHA, const double *A, const size_t &LDA, const double *B, const size_t &LDB, const double &BETA, double *C, const size_t &LDC)
 Perform a matrix-matrix multiplication. More...
 
void dgemv_ (const char &TRANS, const size_t &M, const size_t &N, const double &ALPHA, const double *A, const size_t &LDA, const double *X, const size_t &INCX, const double &BETA, double *Y, const size_t &INCY)
 Perform a matrix-vector multiplication. More...
 

Detailed Description

Declares the interfaces for the BLAS used.

Wrappers are defined to perform casts from different integer types when the natural type in C++ differs from the BLAS argument.