MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu::PerfDetails Namespace Reference

Functions

template<class Scalar, class Node>
double stream_vector_add (int KERNEL_REPEATS, int VECTOR_SIZE)
template<class Scalar, class Node>
double stream_vector_copy (int KERNEL_REPEATS, int VECTOR_SIZE)
double table_lookup (const std::vector< int > &x, const std::vector< double > &y, int value)
double convert_time_to_bandwidth_gbs (double time, int num_calls, double memory_per_call_bytes)
template<class exec_space, class memory_space>
void pingpong_basic (int KERNEL_REPEATS, int MAX_SIZE, const Teuchos::Comm< int > &comm, std::vector< int > &sizes, std::vector< double > &times)
template<class exec_space, class memory_space, class LocalOrdinal, class GlobalOrdinal, class Node>
void halopong_basic (int KERNEL_REPEATS, int MAX_SIZE, const RCP< const Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node > > &import, std::vector< int > &sizes, std::vector< double > &times)

Variables

const double GB = 1024.0 * 1024.0 * 1024.0

Function Documentation

◆ stream_vector_add()

template<class Scalar, class Node>
double MueLu::PerfDetails::stream_vector_add ( int KERNEL_REPEATS,
int VECTOR_SIZE )

Definition at line 36 of file MueLu_PerfModels_def.hpp.

◆ stream_vector_copy()

template<class Scalar, class Node>
double MueLu::PerfDetails::stream_vector_copy ( int KERNEL_REPEATS,
int VECTOR_SIZE )

Definition at line 79 of file MueLu_PerfModels_def.hpp.

◆ table_lookup()

double MueLu::PerfDetails::table_lookup ( const std::vector< int > & x,
const std::vector< double > & y,
int value )

Definition at line 118 of file MueLu_PerfModels_def.hpp.

◆ convert_time_to_bandwidth_gbs()

double MueLu::PerfDetails::convert_time_to_bandwidth_gbs ( double time,
int num_calls,
double memory_per_call_bytes )

Definition at line 158 of file MueLu_PerfModels_def.hpp.

◆ pingpong_basic()

template<class exec_space, class memory_space>
void MueLu::PerfDetails::pingpong_basic ( int KERNEL_REPEATS,
int MAX_SIZE,
const Teuchos::Comm< int > & comm,
std::vector< int > & sizes,
std::vector< double > & times )

Definition at line 164 of file MueLu_PerfModels_def.hpp.

◆ halopong_basic()

template<class exec_space, class memory_space, class LocalOrdinal, class GlobalOrdinal, class Node>
void MueLu::PerfDetails::halopong_basic ( int KERNEL_REPEATS,
int MAX_SIZE,
const RCP< const Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node > > & import,
std::vector< int > & sizes,
std::vector< double > & times )

Definition at line 212 of file MueLu_PerfModels_def.hpp.

Variable Documentation

◆ GB

const double MueLu::PerfDetails::GB = 1024.0 * 1024.0 * 1024.0

Definition at line 157 of file MueLu_PerfModels_def.hpp.