ASL  0.1.7
Advanced Simulation Library
Macros | Functions
testPerformance.cc File Reference
#include "acl/acl.h"
#include "acl/aclHardware.h"
#include "acl/DataTypes/aclIndex.h"
#include "acl/DataTypes/aclConstant.h"
#include "acl/DataTypes/aclVariable.h"
#include "acl/DataTypes/aclPrivateVariable.h"
#include "acl/DataTypes/aclArray.h"
#include "acl/DataTypes/aclSubvector.h"
#include "acl/Kernels/aclKernel.h"
#include "aslUtilities.h"
#include "utilities/aslTimer.h"
#include <math.h>
#include <fstream>
#include <acl/Kernels/aclKernelConfigurationTemplates.h>
Include dependency graph for testPerformance.cc:

Go to the source code of this file.

Macros

#define ARRAY_SIZE   10000000
 
#define TIME_INTERVAL   5
 

Functions

template<typename T >
testSum (T x1, T x2)
 
template<typename T >
testSumNonSequential (T x1, T x2)
 
template<typename T >
testBasicOperators (T x1, T x2)
 
template<typename T >
testSpecialOperators (T x1, T x2)
 
int main ()
 

Macro Definition Documentation

◆ ARRAY_SIZE

#define ARRAY_SIZE   10000000
Examples
testPerformance.cc.

Definition at line 54 of file testPerformance.cc.

◆ TIME_INTERVAL

#define TIME_INTERVAL   5

Definition at line 56 of file testPerformance.cc.

Function Documentation

◆ main()

int main ( )
Examples
testPerformance.cc.

Definition at line 274 of file testPerformance.cc.

◆ testBasicOperators()

template<typename T >
T testBasicOperators ( x1,
x2 
)
inline
Examples
testPerformance.cc.

Definition at line 82 of file testPerformance.cc.

◆ testSpecialOperators()

template<typename T >
T testSpecialOperators ( x1,
x2 
)
inline
Examples
testPerformance.cc.

Definition at line 94 of file testPerformance.cc.

◆ testSum()

template<typename T >
T testSum ( x1,
x2 
)
inline
Examples
testPerformance.cc.

Definition at line 63 of file testPerformance.cc.

◆ testSumNonSequential()

template<typename T >
T testSumNonSequential ( x1,
x2 
)
inline
Examples
testPerformance.cc.

Definition at line 71 of file testPerformance.cc.