Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tmranse committed Apr 12, 2024
1 parent 3a5905c commit cb69b94
Show file tree
Hide file tree
Showing 31 changed files with 145 additions and 145 deletions.
2 changes: 1 addition & 1 deletion algorithms/src/Kokkos_NestedSort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#define KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_NESTED_SORT
#endif

#include "sorting/Kokkos_NestedSortPublicAPI.hpp" // IWYU pragma: export
#include "sorting/Kokkos_NestedSortPublicAPI.hpp" // IWYU pragma: export

#ifdef KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_NESTED_SORT
#undef KOKKOS_IMPL_PUBLIC_INCLUDE
Expand Down
8 changes: 4 additions & 4 deletions algorithms/src/Kokkos_Sort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#define KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_SORT
#endif

#include "sorting/Kokkos_BinSortPublicAPI.hpp" // IWYU pragma: export
#include "sorting/Kokkos_SortPublicAPI.hpp" // IWYU pragma: export
#include "sorting/Kokkos_SortByKeyPublicAPI.hpp" // IWYU pragma: export
#include "sorting/Kokkos_NestedSortPublicAPI.hpp" // IWYU pragma: export
#include "sorting/Kokkos_BinSortPublicAPI.hpp" // IWYU pragma: export
#include "sorting/Kokkos_SortPublicAPI.hpp" // IWYU pragma: export
#include "sorting/Kokkos_SortByKeyPublicAPI.hpp" // IWYU pragma: export
#include "sorting/Kokkos_NestedSortPublicAPI.hpp" // IWYU pragma: export

#ifdef KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_SORT
#undef KOKKOS_IMPL_PUBLIC_INCLUDE
Expand Down
132 changes: 66 additions & 66 deletions algorithms/src/Kokkos_StdAlgorithms.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,91 +24,91 @@
/// \file Kokkos_StdAlgorithms.hpp
/// \brief Kokkos counterparts for Standard C++ Library algorithms

#include "std_algorithms/impl/Kokkos_Constraints.hpp" // IWYU pragma: export
#include "std_algorithms/impl/Kokkos_RandomAccessIterator.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_BeginEnd.hpp" // IWYU pragma: export
#include "std_algorithms/impl/Kokkos_Constraints.hpp" // IWYU pragma: export
#include "std_algorithms/impl/Kokkos_RandomAccessIterator.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_BeginEnd.hpp" // IWYU pragma: export

// distance
#include "std_algorithms/Kokkos_Distance.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Distance.hpp" // IWYU pragma: export

// note that we categorize below the headers
// following the std classification.

// modifying ops
#include "std_algorithms/Kokkos_IterSwap.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_IterSwap.hpp" // IWYU pragma: export

// non-modifying sequence
#include "std_algorithms/Kokkos_AdjacentFind.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Count.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_CountIf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_AllOf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_AnyOf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_NoneOf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Equal.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Find.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_FindIf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_FindIfNot.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_FindEnd.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_FindFirstOf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ForEach.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ForEachN.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_LexicographicalCompare.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Mismatch.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Search.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_SearchN.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_AdjacentFind.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Count.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_CountIf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_AllOf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_AnyOf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_NoneOf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Equal.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Find.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_FindIf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_FindIfNot.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_FindEnd.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_FindFirstOf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ForEach.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ForEachN.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_LexicographicalCompare.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Mismatch.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Search.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_SearchN.hpp" // IWYU pragma: export

// modifying sequence
#include "std_algorithms/Kokkos_Fill.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_FillN.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Replace.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ReplaceIf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ReplaceCopyIf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ReplaceCopy.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Copy.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_CopyN.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_CopyBackward.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_CopyIf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Transform.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Generate.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_GenerateN.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Reverse.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ReverseCopy.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Move.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_MoveBackward.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_SwapRanges.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Unique.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_UniqueCopy.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Rotate.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_RotateCopy.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Remove.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_RemoveIf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_RemoveCopy.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_RemoveCopyIf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ShiftLeft.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ShiftRight.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Fill.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_FillN.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Replace.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ReplaceIf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ReplaceCopyIf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ReplaceCopy.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Copy.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_CopyN.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_CopyBackward.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_CopyIf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Transform.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Generate.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_GenerateN.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Reverse.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ReverseCopy.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Move.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_MoveBackward.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_SwapRanges.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Unique.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_UniqueCopy.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Rotate.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_RotateCopy.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Remove.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_RemoveIf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_RemoveCopy.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_RemoveCopyIf.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ShiftLeft.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ShiftRight.hpp" // IWYU pragma: export

// sorting
#include "std_algorithms/Kokkos_IsSortedUntil.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_IsSorted.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_IsSortedUntil.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_IsSorted.hpp" // IWYU pragma: export

// min/max element
#include "std_algorithms/Kokkos_MinElement.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_MaxElement.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_MinMaxElement.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_MinElement.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_MaxElement.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_MinMaxElement.hpp" // IWYU pragma: export

// partitioning
#include "std_algorithms/Kokkos_IsPartitioned.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_PartitionCopy.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_PartitionPoint.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_IsPartitioned.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_PartitionCopy.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_PartitionPoint.hpp" // IWYU pragma: export

// numeric
#include "std_algorithms/Kokkos_AdjacentDifference.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Reduce.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_TransformReduce.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ExclusiveScan.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_TransformExclusiveScan.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_InclusiveScan.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_TransformInclusiveScan.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_AdjacentDifference.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_Reduce.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_TransformReduce.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_ExclusiveScan.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_TransformExclusiveScan.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_InclusiveScan.hpp" // IWYU pragma: export
#include "std_algorithms/Kokkos_TransformInclusiveScan.hpp" // IWYU pragma: export

#ifdef KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_STD_ALGORITHMS
#undef KOKKOS_IMPL_PUBLIC_INCLUDE
Expand Down
2 changes: 1 addition & 1 deletion containers/src/Kokkos_Bitset.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <Kokkos_Core.hpp>
#include <Kokkos_Functional.hpp>

#include <impl/Kokkos_Bitset_impl.hpp> // IWYU pragma: export
#include <impl/Kokkos_Bitset_impl.hpp> // IWYU pragma: export

namespace Kokkos {

Expand Down
2 changes: 1 addition & 1 deletion containers/src/Kokkos_DualView.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#endif

#include <Kokkos_Core.hpp>
#include <impl/Kokkos_Error.hpp> // IWYU pragma: export
#include <impl/Kokkos_Error.hpp> // IWYU pragma: export

namespace Kokkos {

Expand Down
2 changes: 1 addition & 1 deletion containers/src/Kokkos_DynRankView.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#endif

#include <Kokkos_Core.hpp>
#include <impl/Kokkos_Error.hpp> // IWYU pragma: export
#include <impl/Kokkos_Error.hpp> // IWYU pragma: export
#include <type_traits>

namespace Kokkos {
Expand Down
2 changes: 1 addition & 1 deletion containers/src/Kokkos_DynamicView.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <cstdio>

#include <Kokkos_Core.hpp>
#include <impl/Kokkos_Error.hpp> // IWYU pragma: export
#include <impl/Kokkos_Error.hpp> // IWYU pragma: export

namespace Kokkos {
namespace Experimental {
Expand Down
2 changes: 1 addition & 1 deletion containers/src/Kokkos_ErrorReporter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#include <vector>
#include <Kokkos_Core.hpp>
#include <Kokkos_View.hpp> // IWYU pragma: export
#include <Kokkos_View.hpp> // IWYU pragma: export
#include <Kokkos_DualView.hpp>

namespace Kokkos {
Expand Down
4 changes: 2 additions & 2 deletions containers/src/Kokkos_Functional.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#define KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_FUNCTIONAL
#endif

#include <Kokkos_Macros.hpp> // IWYU pragma: export
#include <impl/Kokkos_Functional_impl.hpp> // IWYU pragma: export
#include <Kokkos_Macros.hpp> // IWYU pragma: export
#include <impl/Kokkos_Functional_impl.hpp> // IWYU pragma: export

namespace Kokkos {

Expand Down
2 changes: 1 addition & 1 deletion containers/src/Kokkos_OffsetView.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#include <Kokkos_Core.hpp>

#include <Kokkos_View.hpp> // IWYU pragma: export
#include <Kokkos_View.hpp> // IWYU pragma: export

namespace Kokkos {

Expand Down
8 changes: 4 additions & 4 deletions containers/src/Kokkos_StaticCrsGraph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
#include <string>
#include <vector>

#include <Kokkos_View.hpp> // IWYU pragma: export
#include <Kokkos_Parallel.hpp> // IWYU pragma: export
#include <Kokkos_Parallel_Reduce.hpp> // IWYU pragma: export
#include <Kokkos_View.hpp> // IWYU pragma: export
#include <Kokkos_Parallel.hpp> // IWYU pragma: export
#include <Kokkos_Parallel_Reduce.hpp> // IWYU pragma: export

namespace Kokkos {

Expand Down Expand Up @@ -420,7 +420,7 @@ create_mirror(const StaticCrsGraph<DataType, Arg1Type, Arg2Type, Arg3Type,
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------

#include <impl/Kokkos_StaticCrsGraph_factory.hpp> // IWYU pragma: export
#include <impl/Kokkos_StaticCrsGraph_factory.hpp> // IWYU pragma: export

//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions containers/src/Kokkos_UnorderedMap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@

#include <Kokkos_Bitset.hpp>

#include <impl/Kokkos_Traits.hpp> // IWYU pragma: export
#include <impl/Kokkos_UnorderedMap_impl.hpp> // IWYU pragma: export
#include <impl/Kokkos_ViewCtor.hpp> // IWYU pragma: export
#include <impl/Kokkos_Traits.hpp> // IWYU pragma: export
#include <impl/Kokkos_UnorderedMap_impl.hpp> // IWYU pragma: export
#include <impl/Kokkos_ViewCtor.hpp> // IWYU pragma: export

#include <cstdint>

Expand Down
2 changes: 1 addition & 1 deletion containers/src/Kokkos_Vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#define KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_VECTOR
#endif

#include <Kokkos_Macros.hpp> // IWYU pragma: export
#include <Kokkos_Macros.hpp> // IWYU pragma: export

#if defined(KOKKOS_ENABLE_DEPRECATED_CODE_4)
#if defined(KOKKOS_ENABLE_DEPRECATION_WARNINGS)
Expand Down
8 changes: 4 additions & 4 deletions core/src/KokkosExp_InterOp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
#endif

#include <Kokkos_Core_fwd.hpp>
#include <Kokkos_Layout.hpp> // IWYU pragma: export
#include <Kokkos_MemoryTraits.hpp> // IWYU pragma: export
#include <Kokkos_View.hpp> // IWYU pragma: export
#include <impl/Kokkos_Utilities.hpp> // IWYU pragma: export
#include <Kokkos_Layout.hpp> // IWYU pragma: export
#include <Kokkos_MemoryTraits.hpp> // IWYU pragma: export
#include <Kokkos_View.hpp> // IWYU pragma: export
#include <impl/Kokkos_Utilities.hpp> // IWYU pragma: export
#include <type_traits>

namespace Kokkos {
Expand Down
8 changes: 4 additions & 4 deletions core/src/Kokkos_Array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#define KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_ARRAY
#endif

#include <Kokkos_Macros.hpp> // IWYU pragma: export
#include <Kokkos_Swap.hpp> // IWYU pragma: export
#include <impl/Kokkos_Error.hpp> // IWYU pragma: export
#include <impl/Kokkos_StringManipulation.hpp> // IWYU pragma: export
#include <Kokkos_Macros.hpp> // IWYU pragma: export
#include <Kokkos_Swap.hpp> // IWYU pragma: export
#include <impl/Kokkos_Error.hpp> // IWYU pragma: export
#include <impl/Kokkos_StringManipulation.hpp> // IWYU pragma: export

#include <type_traits>
#include <algorithm>
Expand Down
6 changes: 3 additions & 3 deletions core/src/Kokkos_Atomic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
#define KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_ATOMIC
#endif

#include <Kokkos_Macros.hpp> // IWYU pragma: export
#include <Kokkos_Macros.hpp> // IWYU pragma: export

#include <Kokkos_Atomics_Desul_Wrapper.hpp> // IWYU pragma: export
#include <Kokkos_Atomics_Desul_Volatile_Wrapper.hpp> // IWYU pragma: export
#include <Kokkos_Atomics_Desul_Wrapper.hpp> // IWYU pragma: export
#include <Kokkos_Atomics_Desul_Volatile_Wrapper.hpp> // IWYU pragma: export

#ifdef KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_ATOMIC
#undef KOKKOS_IMPL_PUBLIC_INCLUDE
Expand Down
2 changes: 1 addition & 1 deletion core/src/Kokkos_Complex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <Kokkos_MathematicalFunctions.hpp>
#include <Kokkos_NumericTraits.hpp>
#include <Kokkos_ReductionIdentity.hpp>
#include <impl/Kokkos_Error.hpp> // IWYU pragma: export
#include <impl/Kokkos_Error.hpp> // IWYU pragma: export
#include <complex>
#include <type_traits>
#include <iosfwd>
Expand Down

0 comments on commit cb69b94

Please sign in to comment.