Defines | Typedefs | Functions
benchBlasGemm.cpp File Reference
#include <iostream>
#include <Eigen/Core>
#include "BenchTimer.h"
#include <cblas.h>
#include <string>
Include dependency graph for benchBlasGemm.cpp:

Go to the source code of this file.

Defines

#define _FLOAT
#define CBLAS_GEMM   cblas_sgemm
#define MYVERIFY(A, M)

Typedefs

typedef Eigen::Matrix< Scalar,
Eigen::Dynamic, Eigen::Dynamic
MyMatrix
typedef float Scalar

Functions

void bench_eigengemm (MyMatrix &mc, const MyMatrix &ma, const MyMatrix &mb, int nbloops)
void check_product (int M, int N, int K)
void check_product (void)
int main (int argc, char *argv[])

Define Documentation

#define _FLOAT

Definition at line 7 of file benchBlasGemm.cpp.

#define CBLAS_GEMM   cblas_sgemm

Definition at line 22 of file benchBlasGemm.cpp.

#define MYVERIFY (   A,
  M 
)
Value:
if (!(A)) { \
    std::cout << "FAIL: " << M << "\n"; \
  }

Definition at line 171 of file benchBlasGemm.cpp.


Typedef Documentation

typedef Eigen::Matrix<Scalar,Eigen::Dynamic,Eigen::Dynamic> MyMatrix

Definition at line 29 of file benchBlasGemm.cpp.

typedef float Scalar

Definition at line 21 of file benchBlasGemm.cpp.


Function Documentation

void bench_eigengemm ( MyMatrix mc,
const MyMatrix ma,
const MyMatrix mb,
int  nbloops 
)

Definition at line 165 of file benchBlasGemm.cpp.

void check_product ( int  M,
int  N,
int  K 
)

Definition at line 174 of file benchBlasGemm.cpp.

void check_product ( void  )

Definition at line 206 of file benchBlasGemm.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 34 of file benchBlasGemm.cpp.



libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:34:05