Update Kokkos library in LAMMPS to v3.7.0
This commit is contained in:
@ -44,59 +44,103 @@
|
||||
|
||||
#ifndef KOKKOS_STD_ALGORITHMS_HPP
|
||||
#define KOKKOS_STD_ALGORITHMS_HPP
|
||||
#ifndef KOKKOS_IMPL_PUBLIC_INCLUDE
|
||||
#define KOKKOS_IMPL_PUBLIC_INCLUDE
|
||||
#define KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_STD_ALGORITHMS
|
||||
#endif
|
||||
|
||||
/// \file Kokkos_StdAlgorithms.hpp
|
||||
/// \brief Kokkos counterparts for Standard C++ Library algorithms
|
||||
|
||||
#include <std_algorithms/Kokkos_Constraints.hpp>
|
||||
#include <std_algorithms/Kokkos_RandomAccessIterator.hpp>
|
||||
#include <std_algorithms/Kokkos_BeginEnd.hpp>
|
||||
#include "std_algorithms/impl/Kokkos_Constraints.hpp"
|
||||
#include "std_algorithms/impl/Kokkos_RandomAccessIterator.hpp"
|
||||
#include "std_algorithms/Kokkos_BeginEnd.hpp"
|
||||
|
||||
// distance
|
||||
#include <std_algorithms/Kokkos_Distance.hpp>
|
||||
#include "std_algorithms/Kokkos_Distance.hpp"
|
||||
|
||||
// move, swap, iter_swap
|
||||
#include "std_algorithms/Kokkos_ModifyingOperations.hpp"
|
||||
// note that we categorize below the headers
|
||||
// following the std classification.
|
||||
|
||||
// find, find_if, find_if_not
|
||||
// for_each, for_each_n
|
||||
// mismatch
|
||||
// equal
|
||||
// count_if, count
|
||||
// all_of, any_of, none_of
|
||||
// adjacent_find
|
||||
// lexicographical_compare
|
||||
// search, search_n
|
||||
// find_first_of, find_end
|
||||
#include <std_algorithms/Kokkos_NonModifyingSequenceOperations.hpp>
|
||||
// modifying ops
|
||||
#include "std_algorithms/Kokkos_Swap.hpp"
|
||||
#include "std_algorithms/Kokkos_IterSwap.hpp"
|
||||
|
||||
// replace, replace_copy_if, replace_copy, replace_if
|
||||
// copy, copy_n, copy_backward, copy_if
|
||||
// fill, fill_n
|
||||
// transform
|
||||
// generate, generate_n
|
||||
// reverse, reverse_copy
|
||||
// move, move_backward
|
||||
// swap_ranges
|
||||
// unique, unique_copy
|
||||
// rotate, rotate_copy
|
||||
// remove, remove_if, remove_copy, remove_copy_if
|
||||
// shift_left, shift_right
|
||||
#include <std_algorithms/Kokkos_ModifyingSequenceOperations.hpp>
|
||||
// non-modifying sequence
|
||||
#include "std_algorithms/Kokkos_AdjacentFind.hpp"
|
||||
#include "std_algorithms/Kokkos_Count.hpp"
|
||||
#include "std_algorithms/Kokkos_CountIf.hpp"
|
||||
#include "std_algorithms/Kokkos_AllOf.hpp"
|
||||
#include "std_algorithms/Kokkos_AnyOf.hpp"
|
||||
#include "std_algorithms/Kokkos_NoneOf.hpp"
|
||||
#include "std_algorithms/Kokkos_Equal.hpp"
|
||||
#include "std_algorithms/Kokkos_Find.hpp"
|
||||
#include "std_algorithms/Kokkos_FindIf.hpp"
|
||||
#include "std_algorithms/Kokkos_FindIfNot.hpp"
|
||||
#include "std_algorithms/Kokkos_FindEnd.hpp"
|
||||
#include "std_algorithms/Kokkos_FindFirstOf.hpp"
|
||||
#include "std_algorithms/Kokkos_ForEach.hpp"
|
||||
#include "std_algorithms/Kokkos_ForEachN.hpp"
|
||||
#include "std_algorithms/Kokkos_LexicographicalCompare.hpp"
|
||||
#include "std_algorithms/Kokkos_Mismatch.hpp"
|
||||
#include "std_algorithms/Kokkos_Search.hpp"
|
||||
#include "std_algorithms/Kokkos_SearchN.hpp"
|
||||
|
||||
// is_sorted_until, is_sorted
|
||||
#include <std_algorithms/Kokkos_SortingOperations.hpp>
|
||||
// modifying sequence
|
||||
#include "std_algorithms/Kokkos_Fill.hpp"
|
||||
#include "std_algorithms/Kokkos_FillN.hpp"
|
||||
#include "std_algorithms/Kokkos_Replace.hpp"
|
||||
#include "std_algorithms/Kokkos_ReplaceIf.hpp"
|
||||
#include "std_algorithms/Kokkos_ReplaceCopyIf.hpp"
|
||||
#include "std_algorithms/Kokkos_ReplaceCopy.hpp"
|
||||
#include "std_algorithms/Kokkos_Copy.hpp"
|
||||
#include "std_algorithms/Kokkos_CopyN.hpp"
|
||||
#include "std_algorithms/Kokkos_CopyBackward.hpp"
|
||||
#include "std_algorithms/Kokkos_CopyIf.hpp"
|
||||
#include "std_algorithms/Kokkos_Transform.hpp"
|
||||
#include "std_algorithms/Kokkos_Generate.hpp"
|
||||
#include "std_algorithms/Kokkos_GenerateN.hpp"
|
||||
#include "std_algorithms/Kokkos_Reverse.hpp"
|
||||
#include "std_algorithms/Kokkos_ReverseCopy.hpp"
|
||||
#include "std_algorithms/Kokkos_Move.hpp"
|
||||
#include "std_algorithms/Kokkos_MoveBackward.hpp"
|
||||
#include "std_algorithms/Kokkos_SwapRanges.hpp"
|
||||
#include "std_algorithms/Kokkos_Unique.hpp"
|
||||
#include "std_algorithms/Kokkos_UniqueCopy.hpp"
|
||||
#include "std_algorithms/Kokkos_Rotate.hpp"
|
||||
#include "std_algorithms/Kokkos_RotateCopy.hpp"
|
||||
#include "std_algorithms/Kokkos_Remove.hpp"
|
||||
#include "std_algorithms/Kokkos_RemoveIf.hpp"
|
||||
#include "std_algorithms/Kokkos_RemoveCopy.hpp"
|
||||
#include "std_algorithms/Kokkos_RemoveCopyIf.hpp"
|
||||
#include "std_algorithms/Kokkos_ShiftLeft.hpp"
|
||||
#include "std_algorithms/Kokkos_ShiftRight.hpp"
|
||||
|
||||
// min_element, max_element, minmax_element
|
||||
#include <std_algorithms/Kokkos_MinMaxElementOperations.hpp>
|
||||
// sorting
|
||||
#include "std_algorithms/Kokkos_IsSortedUntil.hpp"
|
||||
#include "std_algorithms/Kokkos_IsSorted.hpp"
|
||||
|
||||
// is_partitioned, partition_copy, partition_point
|
||||
#include <std_algorithms/Kokkos_PartitioningOperations.hpp>
|
||||
// min/max element
|
||||
#include "std_algorithms/Kokkos_MinElement.hpp"
|
||||
#include "std_algorithms/Kokkos_MaxElement.hpp"
|
||||
#include "std_algorithms/Kokkos_MinMaxElement.hpp"
|
||||
|
||||
// adjacent_difference
|
||||
// reduce, transform_reduce
|
||||
// exclusive_scan, transform_exclusive_scan
|
||||
// inclusive_scan, transform_inclusive_scan
|
||||
#include <std_algorithms/Kokkos_Numeric.hpp>
|
||||
// partitioning
|
||||
#include "std_algorithms/Kokkos_IsPartitioned.hpp"
|
||||
#include "std_algorithms/Kokkos_PartitionCopy.hpp"
|
||||
#include "std_algorithms/Kokkos_PartitionPoint.hpp"
|
||||
|
||||
// numeric
|
||||
#include "std_algorithms/Kokkos_AdjacentDifference.hpp"
|
||||
#include "std_algorithms/Kokkos_Reduce.hpp"
|
||||
#include "std_algorithms/Kokkos_TransformReduce.hpp"
|
||||
#include "std_algorithms/Kokkos_ExclusiveScan.hpp"
|
||||
#include "std_algorithms/Kokkos_TransformExclusiveScan.hpp"
|
||||
#include "std_algorithms/Kokkos_InclusiveScan.hpp"
|
||||
#include "std_algorithms/Kokkos_TransformInclusiveScan.hpp"
|
||||
|
||||
#ifdef KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_STD_ALGORITHMS
|
||||
#undef KOKKOS_IMPL_PUBLIC_INCLUDE
|
||||
#undef KOKKOS_IMPL_PUBLIC_INCLUDE_NOTDEFINED_STD_ALGORITHMS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user