Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Typedefs | Functions
mat_vec.cpp File Reference
#include "Sacado.hpp"
#include "mat_vec.hpp"
#include "Kokkos_Timer.hpp"
Include dependency graph for mat_vec.cpp:

Go to the source code of this file.

Macros

#define INST_FUNC_VAL_DEV(DEV)
 
#define INST_FUNC_FAD_DEV(FAD, DEV)
 
#define INST_FUNC_DEV(DEV)
 

Typedefs

typedef Sacado::Fad::SFad
< double, SFadSize
SFad_type
 
typedef Sacado::Fad::SLFad
< double, SLFadSize
SLFad_type
 
typedef Sacado::Fad::DFad< double > DFad_type
 

Functions

template<typename ViewTypeA , typename ViewTypeB , typename ViewTypeC >
void run_mat_vec (const ViewTypeA &A, const ViewTypeB &b, const ViewTypeC &c)
 
template<typename ViewTypeA , typename ViewTypeB , typename ViewTypeC >
void run_mat_vec_scratch (const ViewTypeA &A, const ViewTypeB &b, const ViewTypeC &c)
 
template<typename ViewTypeA , typename ViewTypeB , typename ViewTypeC >
void run_mat_vec_deriv (const ViewTypeA &A, const ViewTypeB &b, const ViewTypeC &c)
 
template<int MaxP, typename ViewTypeA , typename ViewTypeB , typename ViewTypeC >
void run_mat_vec_deriv_sl (const ViewTypeA &A, const ViewTypeB &b, const ViewTypeC &c)
 
template<int p, typename ViewTypeA , typename ViewTypeB , typename ViewTypeC >
void run_mat_vec_deriv_s (const ViewTypeA &A, const ViewTypeB &b, const ViewTypeC &c)
 
template<typename ViewTypeA , typename ViewTypeB , typename ViewTypeC >
void check_val (const ViewTypeA &A, const ViewTypeB &b, const ViewTypeC &c)
 
template<typename ViewTypeA , typename ViewTypeB , typename ViewTypeC >
void check_deriv (const ViewTypeA &A, const ViewTypeB &b, const ViewTypeC &c)
 
template<typename... ViewArgs>
Perf do_time_val (const size_t m, const size_t n, const size_t nloop, const bool check)
 
template<typename FadType , typename... ViewArgs>
Perf do_time_fad (const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check)
 
template<typename FadType , typename... ViewArgs>
Perf do_time_scratch (const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check)
 
template<typename... ViewArgs>
Perf do_time_analytic (const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check)
 
template<int MaxP, typename... ViewArgs>
Perf do_time_analytic_sl (const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check)
 
template<int p, typename... ViewArgs>
Perf do_time_analytic_s (const size_t m, const size_t n, const size_t nloop, const bool check)
 

Macro Definition Documentation

#define INST_FUNC_VAL_DEV (   DEV)
Value:
template Perf do_time_val< Kokkos::LayoutLeft, DEV > ( const size_t m, const size_t n, const size_t nloop, const bool check ); \
template Perf do_time_val< Kokkos::LayoutRight, DEV > ( const size_t m, const size_t n, const size_t nloop, const bool check ); \
template Perf do_time_val< DEV > ( const size_t m, const size_t n, const size_t nloop, const bool check ); \
template Perf do_time_analytic< Kokkos::LayoutLeft, DEV > ( const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check); \
template Perf do_time_analytic< Kokkos::LayoutRight, DEV > ( const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check); \
template Perf do_time_analytic< DEV > ( const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check); \
template Perf do_time_analytic_sl< SLFadSize, Kokkos::LayoutLeft, DEV > ( const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check); \
template Perf do_time_analytic_sl< SLFadSize, Kokkos::LayoutRight, DEV > ( const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check); \
template Perf do_time_analytic_sl< SLFadSize, DEV > ( const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check); \
template Perf do_time_analytic_s< SFadSize, Kokkos::LayoutLeft, DEV > ( const size_t m, const size_t n, const size_t nloop, const bool check); \
template Perf do_time_analytic_s< SFadSize, Kokkos::LayoutRight, DEV > ( const size_t m, const size_t n, const size_t nloop, const bool check); \
template Perf do_time_analytic_s< SFadSize, DEV > ( const size_t m, const size_t n, const size_t nloop, const bool check);
const char * p
std::enable_if< !Kokkos::is_view_fad< View2 >::value, bool >::type check(const View1 &v_gold, const View2 &v, const double tol)
int n

Definition at line 498 of file mat_vec.cpp.

#define INST_FUNC_FAD_DEV (   FAD,
  DEV 
)
Value:
template Perf do_time_fad< FAD, Kokkos::LayoutLeft, DEV > ( const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check ); \
template Perf do_time_fad< FAD, Kokkos::LayoutRight, DEV > ( const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check ); \
template Perf do_time_fad< FAD, DEV > ( const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check ); \
template Perf do_time_scratch< FAD, Kokkos::LayoutLeft, DEV > ( const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check ); \
template Perf do_time_scratch< FAD, Kokkos::LayoutRight, DEV > ( const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check ); \
template Perf do_time_scratch< FAD, DEV > ( const size_t m, const size_t n, const size_t p, const size_t nloop, const bool check );
const char * p
std::enable_if< !Kokkos::is_view_fad< View2 >::value, bool >::type check(const View1 &v_gold, const View2 &v, const double tol)
int n

Definition at line 512 of file mat_vec.cpp.

#define INST_FUNC_DEV (   DEV)

Typedef Documentation

Definition at line 494 of file mat_vec.cpp.

Definition at line 495 of file mat_vec.cpp.

typedef Sacado::Fad::DFad<double> DFad_type

Definition at line 496 of file mat_vec.cpp.

Function Documentation

template<typename ViewTypeA , typename ViewTypeB , typename ViewTypeC >
void run_mat_vec ( const ViewTypeA &  A,
const ViewTypeB &  b,
const ViewTypeC &  c 
)

Definition at line 19 of file mat_vec.cpp.

template<typename ViewTypeA , typename ViewTypeB , typename ViewTypeC >
void run_mat_vec_scratch ( const ViewTypeA &  A,
const ViewTypeB &  b,
const ViewTypeC &  c 
)

Definition at line 38 of file mat_vec.cpp.

template<typename ViewTypeA , typename ViewTypeB , typename ViewTypeC >
void run_mat_vec_deriv ( const ViewTypeA &  A,
const ViewTypeB &  b,
const ViewTypeC &  c 
)

Definition at line 78 of file mat_vec.cpp.

template<int MaxP, typename ViewTypeA , typename ViewTypeB , typename ViewTypeC >
void run_mat_vec_deriv_sl ( const ViewTypeA &  A,
const ViewTypeB &  b,
const ViewTypeC &  c 
)

Definition at line 103 of file mat_vec.cpp.

template<int p, typename ViewTypeA , typename ViewTypeB , typename ViewTypeC >
void run_mat_vec_deriv_s ( const ViewTypeA &  A,
const ViewTypeB &  b,
const ViewTypeC &  c 
)

Definition at line 137 of file mat_vec.cpp.

template<typename ViewTypeA , typename ViewTypeB , typename ViewTypeC >
void check_val ( const ViewTypeA &  A,
const ViewTypeB &  b,
const ViewTypeC &  c 
)

Definition at line 177 of file mat_vec.cpp.

template<typename ViewTypeA , typename ViewTypeB , typename ViewTypeC >
void check_deriv ( const ViewTypeA &  A,
const ViewTypeB &  b,
const ViewTypeC &  c 
)

Definition at line 196 of file mat_vec.cpp.

template<typename... ViewArgs>
Perf do_time_val ( const size_t  m,
const size_t  n,
const size_t  nloop,
const bool  check 
)

Definition at line 218 of file mat_vec.cpp.

template<typename FadType , typename... ViewArgs>
Perf do_time_fad ( const size_t  m,
const size_t  n,
const size_t  p,
const size_t  nloop,
const bool  check 
)

Definition at line 258 of file mat_vec.cpp.

template<typename FadType , typename... ViewArgs>
Perf do_time_scratch ( const size_t  m,
const size_t  n,
const size_t  p,
const size_t  nloop,
const bool  check 
)

Definition at line 324 of file mat_vec.cpp.

template<typename... ViewArgs>
Perf do_time_analytic ( const size_t  m,
const size_t  n,
const size_t  p,
const size_t  nloop,
const bool  check 
)

Definition at line 379 of file mat_vec.cpp.

template<int MaxP, typename... ViewArgs>
Perf do_time_analytic_sl ( const size_t  m,
const size_t  n,
const size_t  p,
const size_t  nloop,
const bool  check 
)

Definition at line 418 of file mat_vec.cpp.

template<int p, typename... ViewArgs>
Perf do_time_analytic_s ( const size_t  m,
const size_t  n,
const size_t  nloop,
const bool  check 
)

Definition at line 457 of file mat_vec.cpp.