10 #ifndef MUELU_PERFMODELS_HPP
11 #define MUELU_PERFMODELS_HPP
18 #include <Teuchos_DefaultComm.hpp>
133 #endif // ifndef MUELU_PERFMODELS_HPP
std::vector< double > latency_corrected_stream_copy_times_
bool has_halopong_table() const
MueLu::DefaultLocalOrdinal LocalOrdinal
std::vector< double > halopong_device_times_
std::vector< int > halopong_sizes_
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
double pingpong_device_lookup(int SIZE_IN_BYTES)
void stream_vector_make_table(int KERNEL_REPEATS, int LOG_MAX_SIZE=20)
double launch_and_wait_latency_
void print_latency_corrected_stream_vector_table(std::ostream &out, const std::string &prefix="")
std::vector< double > latency_corrected_stream_add_times_
double latency_corrected_stream_vector_add_lookup(int SIZE_IN_BYTES)
double latency_corrected_stream_vector_lookup(int SIZE_IN_BYTES)
std::vector< double > stream_add_times_
double stream_vector_lookup(int SIZE_IN_BYTES)
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
double stream_vector_copy_lookup(int SIZE_IN_BYTES)
std::vector< int > pingpong_sizes_
std::vector< int > stream_sizes_
double halopong_host_lookup(int SIZE_IN_BYTES_PER_MESSAGE)
double halopong_device_lookup(int SIZE_IN_BYTES_PER_MESSAGE)
void print_stream_vector_table_impl(std::ostream &out, bool use_latency_correction, const std::string &prefix)
double latency_corrected_stream_vector_copy_lookup(int SIZE_IN_BYTES)
void print_launch_latency_table(std::ostream &out, const std::string &prefix="")
void print_halopong_table(std::ostream &out, const std::string &prefix="")
std::vector< double > halopong_host_times_
std::vector< double > pingpong_device_times_
bool has_launch_latency_table() const
void print_pingpong_table(std::ostream &out, const std::string &prefix="")
double pingpong_host_lookup(int SIZE_IN_BYTES)
void halopong_make_table(int KERNEL_REPEATS, int LOG_MAX_SIZE, const RCP< const Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node > > &import)
void launch_latency_make_table(int KERNEL_REPEATS)
double launch_latency_lookup()
std::vector< double > stream_copy_times_
double stream_vector_add_lookup(int SIZE_IN_BYTES)
void print_stream_vector_table(std::ostream &out, const std::string &prefix="")
std::vector< double > pingpong_host_times_
void pingpong_make_table(int KERNEL_REPEATS, int LOG_MAX_SIZE, const RCP< const Teuchos::Comm< int > > &comm)
bool has_stream_vector_table() const
bool has_pingpong_table() const