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 "impl/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);
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 518 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 );
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 532 of file mat_vec.cpp.

#define INST_FUNC_DEV (   DEV)

Typedef Documentation

Definition at line 514 of file mat_vec.cpp.

Definition at line 515 of file mat_vec.cpp.

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

Definition at line 516 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 39 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 58 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 98 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 123 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 157 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 197 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 216 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 238 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 278 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 344 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 399 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 438 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 477 of file mat_vec.cpp.