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

Go to the source code of this file.

Macros

#define SACADO_VIEW_CUDA_HIERARCHICAL_DFAD   1
 
#define SACADO_KOKKOS_USE_MEMORY_POOL   1
 
#define INST_FUNC_N_DEV(N, DEV)
 
#define INST_FUNC_DEV(DEV)   INST_FUNC_N_DEV( fad_dim, DEV )
 

Functions

template<typename FluxView , typename WgbView , typename SrcView , typename WbsView , typename ResidualView >
void run_dfad_hierarchical_team (const FluxView &flux, const WgbView &wgb, const SrcView &src, const WbsView &wbs, const ResidualView &residual)
 
template<typename FluxView , typename WgbView , typename SrcView , typename WbsView , typename ResidualView >
void run_dfad_hierarchical_team_scratch (const FluxView &flux, const WgbView &wgb, const SrcView &src, const WbsView &wbs, const ResidualView &residual)
 
template<int N, typename ExecSpace >
double time_dfad_hierarchical_team (int ncells, int num_basis, int num_points, int ndim, int ntrial, bool check)
 
template<int N, typename ExecSpace >
double time_dfad_hierarchical_team_scratch (int ncells, int num_basis, int num_points, int ndim, int ntrial, bool check)
 

Macro Definition Documentation

#define SACADO_VIEW_CUDA_HIERARCHICAL_DFAD   1

Definition at line 30 of file advection_hierarchical_dfad.cpp.

#define SACADO_KOKKOS_USE_MEMORY_POOL   1

Definition at line 31 of file advection_hierarchical_dfad.cpp.

#define INST_FUNC_N_DEV (   N,
  DEV 
)
Value:
template double time_dfad_hierarchical_team< N, DEV >(int ncells, int num_basis, int num_points, int ndim, int ntrial, bool check); \
template double time_dfad_hierarchical_team_scratch< N, DEV >(int ncells, int num_basis, int num_points, int ndim, int ntrial, bool check);
std::enable_if< !Kokkos::is_view_fad< View2 >::value, bool >::type check(const View1 &v_gold, const View2 &v, const double tol)

Definition at line 216 of file advection_hierarchical_dfad.cpp.

#define INST_FUNC_DEV (   DEV)    INST_FUNC_N_DEV( fad_dim, DEV )

Definition at line 220 of file advection_hierarchical_dfad.cpp.

Function Documentation

template<typename FluxView , typename WgbView , typename SrcView , typename WbsView , typename ResidualView >
void run_dfad_hierarchical_team ( const FluxView &  flux,
const WgbView &  wgb,
const SrcView &  src,
const WbsView &  wbs,
const ResidualView &  residual 
)

Definition at line 41 of file advection_hierarchical_dfad.cpp.

template<typename FluxView , typename WgbView , typename SrcView , typename WbsView , typename ResidualView >
void run_dfad_hierarchical_team_scratch ( const FluxView &  flux,
const WgbView &  wgb,
const SrcView &  src,
const WbsView &  wbs,
const ResidualView &  residual 
)

Definition at line 80 of file advection_hierarchical_dfad.cpp.

template<int N, typename ExecSpace >
double time_dfad_hierarchical_team ( int  ncells,
int  num_basis,
int  num_points,
int  ndim,
int  ntrial,
bool  check 
)

Definition at line 124 of file advection_hierarchical_dfad.cpp.

template<int N, typename ExecSpace >
double time_dfad_hierarchical_team_scratch ( int  ncells,
int  num_basis,
int  num_points,
int  ndim,
int  ntrial,
bool  check 
)

Definition at line 180 of file advection_hierarchical_dfad.cpp.