aboutsummaryrefslogtreecommitdiff
path: root/src/fastopenblas.h
blob: 86054a0cf8413d9ca587a1c721d7c8c26909dcfd (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __FASTOPENBLAS_H__
#define __FASTOPENBLAS_H__

#include <assert.h>
#include <iostream>
#include <cblas.h>   // For OpenBlas
#include "gsl/gsl_matrix.h"

typedef long blasint;

void fast_cblas_dgemm(const enum CBLAS_ORDER Order,
                      const enum CBLAS_TRANSPOSE TransA,
                      const enum CBLAS_TRANSPOSE TransB,
                      const blasint M,
                      const blasint N,
                      const blasint K,
                      const double alpha,
                      const double *A,
                      const blasint lda,
                      const double *B,
                      const blasint ldb,
                      const double beta,
                      double *C,
                      const blasint ldc);