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

◆ _FLOAT

#define _FLOAT

Definition at line 7 of file benchBlasGemm.cpp.

◆ CBLAS_GEMM

#define CBLAS_GEMM   cblas_sgemm

Definition at line 22 of file benchBlasGemm.cpp.

◆ MYVERIFY

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

Definition at line 171 of file benchBlasGemm.cpp.

Typedef Documentation

◆ MyMatrix

Definition at line 29 of file benchBlasGemm.cpp.

◆ Scalar

typedef float Scalar

Definition at line 21 of file benchBlasGemm.cpp.

Function Documentation

◆ bench_eigengemm()

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

Definition at line 165 of file benchBlasGemm.cpp.

◆ check_product() [1/2]

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

Definition at line 174 of file benchBlasGemm.cpp.

◆ check_product() [2/2]

void check_product ( void  )

Definition at line 206 of file benchBlasGemm.cpp.

◆ main()

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

Definition at line 34 of file benchBlasGemm.cpp.

A
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
Definition: bench_gemm.cpp:48
M
Matrix< RealScalar, Dynamic, Dynamic > M
Definition: bench_gemm.cpp:51


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:18:27