gemm.cpp File Reference
#include <shark/LinAlg/BLAS/blas.h>
#include <shark/Core/Timer.h>
#include <iostream>

Go to the source code of this file.

Macros

#define SHARK_USE_SIMD
 

Functions

template<class AMat , class BMat , class CMat >
double benchmark (blas::matrix_expression< AMat, blas::cpu_tag > const &A, blas::matrix_expression< BMat, blas::cpu_tag > const &B, blas::matrix_expression< CMat, blas::cpu_tag > &C)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ SHARK_USE_SIMD

#define SHARK_USE_SIMD

Definition at line 1 of file gemm.cpp.

Function Documentation

◆ benchmark()

template<class AMat , class BMat , class CMat >
double benchmark ( blas::matrix_expression< AMat, blas::cpu_tag > const &  A,
blas::matrix_expression< BMat, blas::cpu_tag > const &  B,
blas::matrix_expression< CMat, blas::cpu_tag > &  C 
)

Definition at line 9 of file gemm.cpp.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 23 of file gemm.cpp.

References benchmark().