#include <iostream>
#include <Eigen/Core>
#include "BenchTimer.h"
#include <cblas.h>
#include <string>
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 _FLOAT |
Definition at line 7 of file benchBlasGemm.cpp.
#define CBLAS_GEMM cblas_sgemm |
Definition at line 22 of file benchBlasGemm.cpp.
Definition at line 171 of file benchBlasGemm.cpp.
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.
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.