Public Member Functions | Private Member Functions | Private Attributes | List of all members
BenchmarkSuite< Device, T > Class Template Reference

#include <tensor_benchmarks.h>

Public Member Functions

void algebraicFunc (int num_iters)
 
 BenchmarkSuite (const Device &device, size_t m, size_t k, size_t n)
 
 BenchmarkSuite (const Device &device, size_t m)
 
void broadcasting (int num_iters)
 
void coeffWiseOp (int num_iters)
 
void colChip (int num_iters)
 
void colReduction (int num_iters)
 
void contraction (int num_iters)
 
void convolution (int num_iters, int kernel_x, int kernel_y)
 
void fullReduction (int num_iters)
 
void memcpy (int num_iters)
 
void padding (int num_iters)
 
void random (int num_iters)
 
void rowChip (int num_iters)
 
void rowReduction (int num_iters)
 
void shuffling (int num_iters)
 
void slicing (int num_iters)
 
void striding (int num_iters)
 
void transcendentalFunc (int num_iters)
 
void typeCasting (int num_iters)
 
 ~BenchmarkSuite ()
 

Private Member Functions

void finalizeBenchmark (int64_t num_items)
 
void initialize ()
 

Private Attributes

Ta_
 
Tb_
 
Tc_
 
Device device_
 
TensorIndex k_
 
TensorIndex m_
 
TensorIndex n_
 

Detailed Description

template<typename Device, typename T>
class BenchmarkSuite< Device, T >

Definition at line 18 of file tensor_benchmarks.h.

Constructor & Destructor Documentation

template<typename Device , typename T >
BenchmarkSuite< Device, T >::BenchmarkSuite ( const Device &  device,
size_t  m,
size_t  k,
size_t  n 
)
inline

Definition at line 20 of file tensor_benchmarks.h.

template<typename Device , typename T >
BenchmarkSuite< Device, T >::BenchmarkSuite ( const Device &  device,
size_t  m 
)
inline

Definition at line 25 of file tensor_benchmarks.h.

template<typename Device , typename T >
BenchmarkSuite< Device, T >::~BenchmarkSuite ( )
inline

Definition at line 30 of file tensor_benchmarks.h.

Member Function Documentation

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::algebraicFunc ( int  num_iters)
inline

Definition at line 274 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::broadcasting ( int  num_iters)
inline

Definition at line 227 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::coeffWiseOp ( int  num_iters)
inline

Definition at line 256 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::colChip ( int  num_iters)
inline

Definition at line 130 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::colReduction ( int  num_iters)
inline

Definition at line 339 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::contraction ( int  num_iters)
inline

Definition at line 389 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::convolution ( int  num_iters,
int  kernel_x,
int  kernel_y 
)
inline

Definition at line 417 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::finalizeBenchmark ( int64_t  num_items)
inlineprivate

Definition at line 459 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::fullReduction ( int  num_iters)
inline

Definition at line 369 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::initialize ( void  )
inlineprivate

Definition at line 445 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::memcpy ( int  num_iters)
inline

Definition at line 36 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::padding ( int  num_iters)
inline

Definition at line 170 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::random ( int  num_iters)
inline

Definition at line 67 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::rowChip ( int  num_iters)
inline

Definition at line 113 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::rowReduction ( int  num_iters)
inline

Definition at line 311 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::shuffling ( int  num_iters)
inline

Definition at line 147 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::slicing ( int  num_iters)
inline

Definition at line 82 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::striding ( int  num_iters)
inline

Definition at line 198 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::transcendentalFunc ( int  num_iters)
inline

Definition at line 292 of file tensor_benchmarks.h.

template<typename Device , typename T >
void BenchmarkSuite< Device, T >::typeCasting ( int  num_iters)
inline

Definition at line 46 of file tensor_benchmarks.h.

Member Data Documentation

template<typename Device , typename T >
T* BenchmarkSuite< Device, T >::a_
private

Definition at line 473 of file tensor_benchmarks.h.

template<typename Device , typename T >
T* BenchmarkSuite< Device, T >::b_
private

Definition at line 474 of file tensor_benchmarks.h.

template<typename Device , typename T >
T* BenchmarkSuite< Device, T >::c_
private

Definition at line 475 of file tensor_benchmarks.h.

template<typename Device , typename T >
Device BenchmarkSuite< Device, T >::device_
private

Definition at line 476 of file tensor_benchmarks.h.

template<typename Device , typename T >
TensorIndex BenchmarkSuite< Device, T >::k_
private

Definition at line 471 of file tensor_benchmarks.h.

template<typename Device , typename T >
TensorIndex BenchmarkSuite< Device, T >::m_
private

Definition at line 470 of file tensor_benchmarks.h.

template<typename Device , typename T >
TensorIndex BenchmarkSuite< Device, T >::n_
private

Definition at line 472 of file tensor_benchmarks.h.


The documentation for this class was generated from the following file:


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