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

Go to the source code of this file.

Macros

#define SHARK_USE_SIMD
 

Functions

template<class E1 , class E2 >
void benchmark (blas::matrix_expression< E1, blas::cpu_tag > const &image, blas::matrix_expression< E2, blas::cpu_tag > const &filter, std::size_t num_channels, std::size_t num_filters)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ SHARK_USE_SIMD

#define SHARK_USE_SIMD

Definition at line 1 of file conv2d.cpp.

Function Documentation

◆ benchmark()

template<class E1 , class E2 >
void benchmark ( blas::matrix_expression< E1, blas::cpu_tag > const &  image,
blas::matrix_expression< E2, blas::cpu_tag > const &  filter,
std::size_t  num_channels,
std::size_t  num_filters 
)

Definition at line 10 of file conv2d.cpp.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 39 of file conv2d.cpp.

References benchmark().