Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mat_vec/common.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Sacado Package
4 //
5 // Copyright 2006 NTESS and the Sacado contributors.
6 // SPDX-License-Identifier: LGPL-2.1-or-later
7 // *****************************************************************************
8 // @HEADER
9 
10 #pragma once
11 
12 //#define SACADO_DISABLE_FAD_VIEW_SPEC
13 
14 #include "Kokkos_Timer.hpp"
15 
16 struct Perf {
17  double time;
18  double flops;
19  double throughput;
20 };
21 
22 const int SFadSize = 8;
23 const int SLFadSize = SFadSize;
24 #if defined (KOKKOS_ENABLE_HIP)
25 const int HierSFadSize = 64;
26 #else
27 const int HierSFadSize = 32;
28 #endif
const int SLFadSize
double flops
double time
double throughput
const int HierSLFadSize
const int HierSFadSize
const int SFadSize