-
Notifications
You must be signed in to change notification settings - Fork 563
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge Pull Request #13363 from trilinos/Trilinos/master_merge_2024081…
…6_175818 Automatically Merged using Trilinos Master Merge AutoTester PR Title: b'Trilinos Master Merge PR Generator: Auto PR created to promote from master_merge_20240816_175818 branch to master' PR Author: trilinos-autotester
- Loading branch information
Showing
2,837 changed files
with
94,836 additions
and
142,462 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// @HEADER | ||
// ***************************************************************************** | ||
// Ifpack2: Templated Object-Oriented Algebraic Preconditioner Package | ||
// | ||
// Copyright 2009 NTESS and the Ifpack2 contributors. | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
// ***************************************************************************** | ||
// @HEADER | ||
|
||
#ifndef IFPACK2_BLOCKHELPER_TIMERS_HPP | ||
#define IFPACK2_BLOCKHELPER_TIMERS_HPP | ||
|
||
|
||
namespace Ifpack2 { | ||
|
||
namespace BlockHelperDetails { | ||
|
||
#if defined(HAVE_IFPACK2_BLOCKTRIDICONTAINER_TIMERS) | ||
#define IFPACK2_BLOCKHELPER_TIMER(label, varname) TEUCHOS_FUNC_TIME_MONITOR_DIFF(label, varname); | ||
#define IFPACK2_BLOCKHELPER_TIMER_FENCE(execution_space) execution_space().fence(); | ||
#define IFPACK2_BLOCKHELPER_TIMER_DEFAULT_FENCE() Kokkos::DefaultExecutionSpace().fence(); | ||
#else | ||
#define IFPACK2_BLOCKHELPER_TIMER(label, varname) | ||
#define IFPACK2_BLOCKHELPER_TIMER_FENCE(execution_space) | ||
#define IFPACK2_BLOCKHELPER_TIMER_DEFAULT_FENCE() | ||
#endif | ||
|
||
#define IFPACK2_BLOCKHELPER_TIMER_WITH_FENCE(label, varname, execution_space) \ | ||
IFPACK2_BLOCKHELPER_TIMER_FENCE(execution_space) \ | ||
IFPACK2_BLOCKHELPER_TIMER(label, varname) | ||
|
||
} // namespace BlockHelperDetails | ||
|
||
} // namespace Ifpack2 | ||
|
||
#endif |
Oops, something went wrong.