SyTen
blas-wrapper.h File Reference

A wrapper for BLAS functions used in the toolkit. More...

#include <string>
#include <stdexcept>
#include <complex>
#include "mkl_include.h"
#include "openblas_include.h"
#include "genblas_include.h"
+ Include dependency graph for blas-wrapper.h:
+ This graph shows which files directly or indirectly include this file:

Classes

struct  syten::LapackException
 Thrown if a LAPACKE function returns non-zero. More...
 

Namespaces

namespace  syten
 Syten namespace.
 

Detailed Description

A wrapper for BLAS functions used in the toolkit.

The MKL exports these without the trailing underscore, whereas libblas on Ubuntu only has them with that underscore.

For simplicity, the complex type is called MKL_Complex16 throughout so that everybody is happy.