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 namespace Tpetra {
19 namespace Details {
20 
21 // The force option overrides the environment variable control via TPETRA_TIME_KOKKOS_DEEP_COPY
22 // This is used for unit testing the capability
23 void AddKokkosDeepCopyToTimeMonitor(bool force = false);
24 
25 // The force option overrides the environment variable control via TPETRA_TIME_KOKKOS_FENCE
26 // This is used for unit testing the capability
27 void AddKokkosFenceToTimeMonitor(bool force = false);
28 
29 // The force option overrides the environment variable control via TPETRA_TIME_KOKKOS_FUNCTIONS
30 // This is used for unit testing the capability
31 void AddKokkosFunctionsToTimeMonitor(bool force = false);
32 
33 } // namespace Details
34 } // namespace Tpetra
35 
36 #endif // TPETRA_DETAILS_KOKKOS_TEUCHOS_TIMER_INJECTION_HPP