Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Enumerations | Functions | Variables
driver.cpp File Reference
#include "mat_vec.hpp"
#include "mat_vec_hierarchical.hpp"
#include "mat_vec_hierarchical_dfad.hpp"
#include "Sacado.hpp"
#include "Teuchos_CommandLineProcessor.hpp"
#include "Teuchos_StandardCatchMacros.hpp"
#include <sys/types.h>
#include <unistd.h>
#include <algorithm>
Include dependency graph for mat_vec/driver.cpp:

Go to the source code of this file.

Enumerations

enum  LayoutType { LAYOUT_LEFT =0 , LAYOUT_RIGHT , LAYOUT_DEFAULT }
 

Functions

void print_perf (const Perf &perf, const Perf &perf_base, const size_t p, const std::string &name)
 
template<int SFadSize, int SLFadSize, int HierSFadSize, int HierSLFadSize, typename ... ViewArgs>
void do_times (const size_t m, const size_t n, const size_t p, const size_t nloop, const bool value, const bool analytic, const bool sfad, const bool slfad, const bool dfad, const bool flat, const bool hierarchical, const bool check)
 
template<int SFadSize, int SLFadSize, int HierSFadSize, int HierSLFadSize, typename Device >
void do_times_layout (const size_t m, const size_t n, const size_t p, const size_t nloop, const bool value, const bool analytic, const bool sfad, const bool slfad, const bool dfad, const bool flat, const bool hierarchical, const bool check, const LayoutType &layout, const std::string &device)
 
void connect_vtune ()
 
int main (int argc, char *argv[])
 

Variables

const int num_layout_types = 3
 
const LayoutType layout_values []
 
const char * layout_names [] = { "left", "right", "default" }
 

Enumeration Type Documentation

◆ LayoutType

enum LayoutType
Enumerator
LAYOUT_LEFT 
LAYOUT_RIGHT 
LAYOUT_DEFAULT 

Definition at line 211 of file mat_vec/driver.cpp.

Function Documentation

◆ print_perf()

void print_perf ( const Perf & perf,
const Perf & perf_base,
const size_t p,
const std::string & name )

Definition at line 48 of file mat_vec/driver.cpp.

◆ do_times()

template<int SFadSize, int SLFadSize, int HierSFadSize, int HierSLFadSize, typename ... ViewArgs>
void do_times ( const size_t m,
const size_t n,
const size_t p,
const size_t nloop,
const bool value,
const bool analytic,
const bool sfad,
const bool slfad,
const bool dfad,
const bool flat,
const bool hierarchical,
const bool check )

Definition at line 61 of file mat_vec/driver.cpp.

◆ do_times_layout()

template<int SFadSize, int SLFadSize, int HierSFadSize, int HierSLFadSize, typename Device >
void do_times_layout ( const size_t m,
const size_t n,
const size_t p,
const size_t nloop,
const bool value,
const bool analytic,
const bool sfad,
const bool slfad,
const bool dfad,
const bool flat,
const bool hierarchical,
const bool check,
const LayoutType & layout,
const std::string & device )

Definition at line 224 of file mat_vec/driver.cpp.

◆ connect_vtune()

void connect_vtune ( )

Definition at line 262 of file mat_vec/driver.cpp.

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 276 of file mat_vec/driver.cpp.

Variable Documentation

◆ num_layout_types

const int num_layout_types = 3

Definition at line 216 of file mat_vec/driver.cpp.

◆ layout_values

const LayoutType layout_values[]
Initial value:

Definition at line 217 of file mat_vec/driver.cpp.

◆ layout_names

const char* layout_names[] = { "left", "right", "default" }

Definition at line 219 of file mat_vec/driver.cpp.