Macros | 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.

Macros

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

Typedefs

typedef Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::DynamicMyMatrix
 
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[])
 

Macro Definition 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"; \
}
Matrix< RealScalar, Dynamic, Dynamic > M
Definition: bench_gemm.cpp:38

Definition at line 171 of file benchBlasGemm.cpp.

Typedef Documentation

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.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:27