Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Tpetra_Details_KokkosTeuchosTimerInjection.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Tpetra: Templated Linear Algebra Services Package
4 //
5 // Copyright 2008 NTESS and the Tpetra contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef TPETRA_DETAILS_KOKKOS_TEUCHOS_TIMER_INJECTION_HPP
11 #define TPETRA_DETAILS_KOKKOS_TEUCHOS_TIMER_INJECTION_HPP
12 
17 
18 
19 
20 namespace Tpetra {
21 namespace Details {
22 
23  // The force option overrides the environment variable control via TPETRA_TIME_KOKKOS_DEEP_COPY
24  // This is used for unit testing the capability
25  void AddKokkosDeepCopyToTimeMonitor(bool force = false);
26 
27  // The force option overrides the environment variable control via TPETRA_TIME_KOKKOS_FENCE
28  // This is used for unit testing the capability
29  void AddKokkosFenceToTimeMonitor(bool force = false);
30 
31  // The force option overrides the environment variable control via TPETRA_TIME_KOKKOS_FUNCTIONS
32  // This is used for unit testing the capability
33  void AddKokkosFunctionsToTimeMonitor(bool force = false);
34 
35 
36 } // namespace Details
37 } // namespace Tpetra
38 
39 #endif // TPETRA_DETAILS_KOKKOS_TEUCHOS_TIMER_INJECTION_HPP