Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations | Functions | Variables
mat_vec/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, 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

enum LayoutType
Enumerator
LAYOUT_LEFT 
LAYOUT_RIGHT 
LAYOUT_DEFAULT 
LAYOUT_LEFT 
LAYOUT_RIGHT 
LAYOUT_DEFAULT 

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

Function Documentation

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

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

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 41 of file mat_vec/driver.cpp.

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 204 of file mat_vec/driver.cpp.

void connect_vtune ( )

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

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

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

Variable Documentation

const int num_layout_types = 3

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

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

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