Skip to content
Aborted

Changes

Summary

  1. Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692) (details)
  2. Check matching static extents in View constructor (#5190) (details)
  3. Remove Kokkos::[b]half_t volatile overloads (#6579) (details)
  4. add tests (details)
  5. Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697) (details)
  6. Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687) (details)
  7. Fix TeamThreadMDRange parallel_reduce (#6511) (details)
  8. add tests for in-place `inclusive_scan` (#6682) (details)
  9. Updated descriptive comment. (details)
Commit 27286c32d7e0c157d1a4d7f00f9441979ed8eabe by noreply
Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692)

* Add NAME_TBD_UNSAFE_ATOMICS configuration option to disable atomics

* Rename configuration option and macro NAME_TBD_UNSAFE_ATOMICS -> ATOMICS_BYPASS

* Improve option description and configuration time error message

Co-Authored-By: Christian Trott <crtrott@sandia.gov>
Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

* Mention Kokkos_ENABLE_ATOMICS_BYPASS option in error msssage

* Simplify sanity check for disabling atomics in <Kokkos_Macros.hpp>

Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

---------

Co-authored-by: Christian Trott <crtrott@sandia.gov>
Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
The file was modified cmake/KokkosCore_config.h.in (diff)
The file was modified core/src/Kokkos_Macros.hpp (diff)
The file was modified core/src/Kokkos_Atomics_Desul_Volatile_Wrapper.hpp (diff)
The file was modified core/src/Kokkos_Atomics_Desul_Wrapper.hpp (diff)
The file was modified core/src/Serial/Kokkos_Serial.cpp (diff)
The file was modified cmake/kokkos_arch.cmake (diff)
The file was modified cmake/kokkos_enable_options.cmake (diff)
Commit 0e4a158a7585f2a93b93d4121788016fe0dba4c9 by noreply
Check matching static extents in View constructor (#5190)

* Also check static extents

* Use separate bools for the two checks and improve error messages

* Improve error messages

* Refactor test

* Add another test

* Extend existing tests

* Use make_index_sequence

* Remove LIVE and DIE

* Try removing guards for OpenMPTarget

* Use different style in view_construction_with_wrong_static_extents

* Remove template template parameter

* Also check unmanaged views

* Fix DynRankView

* Add FIXME

* Pass label by const char *

* fix terminating define

* Deduce rank and dynamic_rank from View

* Only call runtime_check_rank when KOKKOS_ENABLE_DEBUG_BOUNDS_CHECK is defined

* Guard with if constexpr

---------

Co-authored-by: Francesco Rizzi <fnrizzi@sandia.gov>
The file was modified core/src/impl/Kokkos_ViewArray.hpp (diff)
The file was modified core/unit_test/TestViewAPI.hpp (diff)
The file was modified core/src/Kokkos_View.hpp (diff)
The file was modified core/unit_test/TestViewCtorDimMatch.hpp (diff)
The file was modified containers/src/Kokkos_DynRankView.hpp (diff)
Commit 96d530a24034467db26070081b62a0a23c60530e by noreply
Remove Kokkos::[b]half_t volatile overloads (#6579)

* Deprecate Kokkos::[b]half_t volatile overloads

* Remove volatile [b]half_t altogether
The file was modified core/unit_test/TestHalfOperators.hpp (diff)
The file was modified core/src/impl/Kokkos_Half_FloatingPointWrapper.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamTransformInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTransformInclusiveScan.cpp (diff)
Commit 0ba8c40fc56c54bc0fd5808a23cf44e48749c187 by noreply
Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697)

* Move Kokkos_Swap.hpp header to core

* Include only what we use (in <Kokkos_Swap.hpp>)

* Rename header guards in <Kokkos_Swap.hpp> (because I can)

* Drop useless comment

* Fix noexcept specification of Kokkos::swap

* Constexprify Kokkos::swap

* Fixup type requirements in Kokkos::swap

* Drop the inline (because I can)

* fixup! Move Kokkos_Swap.hpp header to core

* Promote swap to namespace Kokkos::

* Move and update Kokkos::swap unit test to core

* Add support for swapping arrays

* Fixup size_t

* Provide Kokkos::swap overload for a few classes

* Rename Kokkos::swap -> Kokkos::kokkos_swap

* For backward compatibility provide deprecated Experimental::swap
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was modified core/src/Kokkos_Pair.hpp (diff)
The file was modified core/unit_test/CMakeLists.txt (diff)
The file was modified algorithms/src/std_algorithms/Kokkos_IterSwap.hpp (diff)
The file was modified core/src/Kokkos_Array.hpp (diff)
The file was modified algorithms/src/std_algorithms/impl/Kokkos_Reverse.hpp (diff)
The file was modified algorithms/src/std_algorithms/impl/Kokkos_SwapRanges.hpp (diff)
The file was addedcore/unit_test/TestSwap.hpp
The file was modified algorithms/src/Kokkos_StdAlgorithms.hpp (diff)
The file was addedcore/src/Kokkos_Swap.hpp
The file was modified algorithms/src/sorting/impl/Kokkos_NestedSortImpl.hpp (diff)
The file was removedalgorithms/src/std_algorithms/Kokkos_Swap.hpp
The file was modified algorithms/unit_tests/TestStdAlgorithmsModOps.cpp (diff)
Commit 89ba3fbae8ab2ae2dbfd30eef05c3bac387630a5 by noreply
Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687)

* Promote min, max, clamp to public

* Drop unnecessary <Kokkos_MinMaxClamp.hpo> header includes

* Split Kokkos_MinMaxClamp.hpp into Kokkos_MinMax.hpp and Kokkos_Clamp.hpp

---------

Co-authored-by: Damien L-G <dalg24@gmail.com>
The file was removedcore/src/Kokkos_MinMaxClamp.hpp
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Team.hpp (diff)
The file was modified core/src/Kokkos_View.hpp (diff)
The file was addedcore/src/Kokkos_MinMax.hpp
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Range.hpp (diff)
The file was modified core/src/HIP/Kokkos_HIP_TeamPolicyInternal.hpp (diff)
The file was addedcore/src/Kokkos_Clamp.hpp
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_MDRange.hpp (diff)
Commit ee5cbfc25c81b9efc5b2a4abd82d9a9d5d3d07bd by noreply
Fix TeamThreadMDRange parallel_reduce (#6511)

* Fix TeamThreadRangeMD parallel_reduce

* Use vector_reduce for Cuda, HIP, and SYCL

* Initialize reduction variable

* Test with maximal vector length

* TeamHandle::execution_space->typename TeamHandle::execution_space

* Fix OpenMPTarget

* Restore tests

* reducer is unused

* Workarounds for OpenMPTarget

* Reduce

* Fix OpenMPTarget tests

* Restore tests

* Strengthen test case for OpenMPTarget

* Add some static_asserts
The file was modified core/src/Kokkos_ExecPolicy.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsCommon.hpp (diff)
The file was modified core/src/OpenMPTarget/Kokkos_OpenMPTarget_Parallel.hpp (diff)
The file was modified core/unit_test/TestTeamMDRange.hpp (diff)
Commit 36da6cca7fb4b4b7082f0ec91b4e388578787e8f by noreply
add tests for in-place `inclusive_scan` (#6682)

* add test for inclusive scan in place

* refine tests

* remove comment

* revert transform since it is moved to separate pr
The file was modified algorithms/unit_tests/TestStdAlgorithmsInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamInclusiveScan.cpp (diff)
Commit c048caaf1e51abfd340b3ad8c6417f56982ef462 by ben
Updated descriptive comment.
The file was modified cmake/KokkosConfig.cmake.in (diff)

Summary

  1. Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692) (details)
  2. Check matching static extents in View constructor (#5190) (details)
  3. Remove Kokkos::[b]half_t volatile overloads (#6579) (details)
  4. add tests (details)
  5. Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697) (details)
  6. Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687) (details)
  7. Fix TeamThreadMDRange parallel_reduce (#6511) (details)
  8. add tests for in-place `inclusive_scan` (#6682) (details)
  9. Updated descriptive comment. (details)
Commit 27286c32d7e0c157d1a4d7f00f9441979ed8eabe by noreply
Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692)

* Add NAME_TBD_UNSAFE_ATOMICS configuration option to disable atomics

* Rename configuration option and macro NAME_TBD_UNSAFE_ATOMICS -> ATOMICS_BYPASS

* Improve option description and configuration time error message

Co-Authored-By: Christian Trott <crtrott@sandia.gov>
Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

* Mention Kokkos_ENABLE_ATOMICS_BYPASS option in error msssage

* Simplify sanity check for disabling atomics in <Kokkos_Macros.hpp>

Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

---------

Co-authored-by: Christian Trott <crtrott@sandia.gov>
Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
The file was modified cmake/KokkosCore_config.h.in (diff)
The file was modified core/src/Serial/Kokkos_Serial.cpp (diff)
The file was modified core/src/Kokkos_Atomics_Desul_Volatile_Wrapper.hpp (diff)
The file was modified core/src/Kokkos_Macros.hpp (diff)
The file was modified core/src/Kokkos_Atomics_Desul_Wrapper.hpp (diff)
The file was modified cmake/kokkos_arch.cmake (diff)
The file was modified cmake/kokkos_enable_options.cmake (diff)
Commit 0e4a158a7585f2a93b93d4121788016fe0dba4c9 by noreply
Check matching static extents in View constructor (#5190)

* Also check static extents

* Use separate bools for the two checks and improve error messages

* Improve error messages

* Refactor test

* Add another test

* Extend existing tests

* Use make_index_sequence

* Remove LIVE and DIE

* Try removing guards for OpenMPTarget

* Use different style in view_construction_with_wrong_static_extents

* Remove template template parameter

* Also check unmanaged views

* Fix DynRankView

* Add FIXME

* Pass label by const char *

* fix terminating define

* Deduce rank and dynamic_rank from View

* Only call runtime_check_rank when KOKKOS_ENABLE_DEBUG_BOUNDS_CHECK is defined

* Guard with if constexpr

---------

Co-authored-by: Francesco Rizzi <fnrizzi@sandia.gov>
The file was modified core/src/impl/Kokkos_ViewArray.hpp (diff)
The file was modified containers/src/Kokkos_DynRankView.hpp (diff)
The file was modified core/src/Kokkos_View.hpp (diff)
The file was modified core/unit_test/TestViewAPI.hpp (diff)
The file was modified core/unit_test/TestViewCtorDimMatch.hpp (diff)
Commit 96d530a24034467db26070081b62a0a23c60530e by noreply
Remove Kokkos::[b]half_t volatile overloads (#6579)

* Deprecate Kokkos::[b]half_t volatile overloads

* Remove volatile [b]half_t altogether
The file was modified core/src/impl/Kokkos_Half_FloatingPointWrapper.hpp (diff)
The file was modified core/unit_test/TestHalfOperators.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTransformInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamTransformInclusiveScan.cpp (diff)
Commit 0ba8c40fc56c54bc0fd5808a23cf44e48749c187 by noreply
Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697)

* Move Kokkos_Swap.hpp header to core

* Include only what we use (in <Kokkos_Swap.hpp>)

* Rename header guards in <Kokkos_Swap.hpp> (because I can)

* Drop useless comment

* Fix noexcept specification of Kokkos::swap

* Constexprify Kokkos::swap

* Fixup type requirements in Kokkos::swap

* Drop the inline (because I can)

* fixup! Move Kokkos_Swap.hpp header to core

* Promote swap to namespace Kokkos::

* Move and update Kokkos::swap unit test to core

* Add support for swapping arrays

* Fixup size_t

* Provide Kokkos::swap overload for a few classes

* Rename Kokkos::swap -> Kokkos::kokkos_swap

* For backward compatibility provide deprecated Experimental::swap
The file was modified algorithms/unit_tests/TestStdAlgorithmsModOps.cpp (diff)
The file was modified algorithms/src/std_algorithms/Kokkos_IterSwap.hpp (diff)
The file was modified algorithms/src/std_algorithms/impl/Kokkos_SwapRanges.hpp (diff)
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was modified core/src/Kokkos_Pair.hpp (diff)
The file was modified algorithms/src/std_algorithms/impl/Kokkos_Reverse.hpp (diff)
The file was addedcore/src/Kokkos_Swap.hpp
The file was modified algorithms/src/Kokkos_StdAlgorithms.hpp (diff)
The file was addedcore/unit_test/TestSwap.hpp
The file was removedalgorithms/src/std_algorithms/Kokkos_Swap.hpp
The file was modified core/unit_test/CMakeLists.txt (diff)
The file was modified core/src/Kokkos_Array.hpp (diff)
The file was modified algorithms/src/sorting/impl/Kokkos_NestedSortImpl.hpp (diff)
Commit 89ba3fbae8ab2ae2dbfd30eef05c3bac387630a5 by noreply
Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687)

* Promote min, max, clamp to public

* Drop unnecessary <Kokkos_MinMaxClamp.hpo> header includes

* Split Kokkos_MinMaxClamp.hpp into Kokkos_MinMax.hpp and Kokkos_Clamp.hpp

---------

Co-authored-by: Damien L-G <dalg24@gmail.com>
The file was addedcore/src/Kokkos_Clamp.hpp
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Range.hpp (diff)
The file was modified core/src/HIP/Kokkos_HIP_TeamPolicyInternal.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Team.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_MDRange.hpp (diff)
The file was removedcore/src/Kokkos_MinMaxClamp.hpp
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was addedcore/src/Kokkos_MinMax.hpp
The file was modified core/src/Kokkos_View.hpp (diff)
Commit ee5cbfc25c81b9efc5b2a4abd82d9a9d5d3d07bd by noreply
Fix TeamThreadMDRange parallel_reduce (#6511)

* Fix TeamThreadRangeMD parallel_reduce

* Use vector_reduce for Cuda, HIP, and SYCL

* Initialize reduction variable

* Test with maximal vector length

* TeamHandle::execution_space->typename TeamHandle::execution_space

* Fix OpenMPTarget

* Restore tests

* reducer is unused

* Workarounds for OpenMPTarget

* Reduce

* Fix OpenMPTarget tests

* Restore tests

* Strengthen test case for OpenMPTarget

* Add some static_asserts
The file was modified algorithms/unit_tests/TestStdAlgorithmsCommon.hpp (diff)
The file was modified core/src/OpenMPTarget/Kokkos_OpenMPTarget_Parallel.hpp (diff)
The file was modified core/src/Kokkos_ExecPolicy.hpp (diff)
The file was modified core/unit_test/TestTeamMDRange.hpp (diff)
Commit 36da6cca7fb4b4b7082f0ec91b4e388578787e8f by noreply
add tests for in-place `inclusive_scan` (#6682)

* add test for inclusive scan in place

* refine tests

* remove comment

* revert transform since it is moved to separate pr
The file was modified algorithms/unit_tests/TestStdAlgorithmsInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamInclusiveScan.cpp (diff)
Commit c048caaf1e51abfd340b3ad8c6417f56982ef462 by ben
Updated descriptive comment.
The file was modified cmake/KokkosConfig.cmake.in (diff)

Summary

  1. Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692) (details)
  2. Check matching static extents in View constructor (#5190) (details)
  3. Remove Kokkos::[b]half_t volatile overloads (#6579) (details)
  4. add tests (details)
  5. Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697) (details)
  6. Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687) (details)
  7. Fix TeamThreadMDRange parallel_reduce (#6511) (details)
  8. add tests for in-place `inclusive_scan` (#6682) (details)
  9. Updated descriptive comment. (details)
Commit 27286c32d7e0c157d1a4d7f00f9441979ed8eabe by noreply
Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692)

* Add NAME_TBD_UNSAFE_ATOMICS configuration option to disable atomics

* Rename configuration option and macro NAME_TBD_UNSAFE_ATOMICS -> ATOMICS_BYPASS

* Improve option description and configuration time error message

Co-Authored-By: Christian Trott <crtrott@sandia.gov>
Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

* Mention Kokkos_ENABLE_ATOMICS_BYPASS option in error msssage

* Simplify sanity check for disabling atomics in <Kokkos_Macros.hpp>

Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

---------

Co-authored-by: Christian Trott <crtrott@sandia.gov>
Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
The file was modified core/src/Kokkos_Atomics_Desul_Volatile_Wrapper.hpp (diff)
The file was modified cmake/kokkos_enable_options.cmake (diff)
The file was modified core/src/Kokkos_Macros.hpp (diff)
The file was modified cmake/kokkos_arch.cmake (diff)
The file was modified core/src/Kokkos_Atomics_Desul_Wrapper.hpp (diff)
The file was modified cmake/KokkosCore_config.h.in (diff)
The file was modified core/src/Serial/Kokkos_Serial.cpp (diff)
Commit 0e4a158a7585f2a93b93d4121788016fe0dba4c9 by noreply
Check matching static extents in View constructor (#5190)

* Also check static extents

* Use separate bools for the two checks and improve error messages

* Improve error messages

* Refactor test

* Add another test

* Extend existing tests

* Use make_index_sequence

* Remove LIVE and DIE

* Try removing guards for OpenMPTarget

* Use different style in view_construction_with_wrong_static_extents

* Remove template template parameter

* Also check unmanaged views

* Fix DynRankView

* Add FIXME

* Pass label by const char *

* fix terminating define

* Deduce rank and dynamic_rank from View

* Only call runtime_check_rank when KOKKOS_ENABLE_DEBUG_BOUNDS_CHECK is defined

* Guard with if constexpr

---------

Co-authored-by: Francesco Rizzi <fnrizzi@sandia.gov>
The file was modified core/unit_test/TestViewAPI.hpp (diff)
The file was modified containers/src/Kokkos_DynRankView.hpp (diff)
The file was modified core/src/Kokkos_View.hpp (diff)
The file was modified core/unit_test/TestViewCtorDimMatch.hpp (diff)
The file was modified core/src/impl/Kokkos_ViewArray.hpp (diff)
Commit 96d530a24034467db26070081b62a0a23c60530e by noreply
Remove Kokkos::[b]half_t volatile overloads (#6579)

* Deprecate Kokkos::[b]half_t volatile overloads

* Remove volatile [b]half_t altogether
The file was modified core/src/impl/Kokkos_Half_FloatingPointWrapper.hpp (diff)
The file was modified core/unit_test/TestHalfOperators.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamTransformInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTransformInclusiveScan.cpp (diff)
Commit 0ba8c40fc56c54bc0fd5808a23cf44e48749c187 by noreply
Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697)

* Move Kokkos_Swap.hpp header to core

* Include only what we use (in <Kokkos_Swap.hpp>)

* Rename header guards in <Kokkos_Swap.hpp> (because I can)

* Drop useless comment

* Fix noexcept specification of Kokkos::swap

* Constexprify Kokkos::swap

* Fixup type requirements in Kokkos::swap

* Drop the inline (because I can)

* fixup! Move Kokkos_Swap.hpp header to core

* Promote swap to namespace Kokkos::

* Move and update Kokkos::swap unit test to core

* Add support for swapping arrays

* Fixup size_t

* Provide Kokkos::swap overload for a few classes

* Rename Kokkos::swap -> Kokkos::kokkos_swap

* For backward compatibility provide deprecated Experimental::swap
The file was modified core/src/Kokkos_Pair.hpp (diff)
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was modified algorithms/src/sorting/impl/Kokkos_NestedSortImpl.hpp (diff)
The file was modified algorithms/src/Kokkos_StdAlgorithms.hpp (diff)
The file was modified algorithms/src/std_algorithms/impl/Kokkos_SwapRanges.hpp (diff)
The file was removedalgorithms/src/std_algorithms/Kokkos_Swap.hpp
The file was modified algorithms/src/std_algorithms/impl/Kokkos_Reverse.hpp (diff)
The file was addedcore/src/Kokkos_Swap.hpp
The file was modified algorithms/src/std_algorithms/Kokkos_IterSwap.hpp (diff)
The file was modified core/src/Kokkos_Array.hpp (diff)
The file was modified core/unit_test/CMakeLists.txt (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsModOps.cpp (diff)
The file was addedcore/unit_test/TestSwap.hpp
Commit 89ba3fbae8ab2ae2dbfd30eef05c3bac387630a5 by noreply
Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687)

* Promote min, max, clamp to public

* Drop unnecessary <Kokkos_MinMaxClamp.hpo> header includes

* Split Kokkos_MinMaxClamp.hpp into Kokkos_MinMax.hpp and Kokkos_Clamp.hpp

---------

Co-authored-by: Damien L-G <dalg24@gmail.com>
The file was addedcore/src/Kokkos_Clamp.hpp
The file was addedcore/src/Kokkos_MinMax.hpp
The file was modified core/src/HIP/Kokkos_HIP_TeamPolicyInternal.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Range.hpp (diff)
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was removedcore/src/Kokkos_MinMaxClamp.hpp
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_MDRange.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Team.hpp (diff)
The file was modified core/src/Kokkos_View.hpp (diff)
Commit ee5cbfc25c81b9efc5b2a4abd82d9a9d5d3d07bd by noreply
Fix TeamThreadMDRange parallel_reduce (#6511)

* Fix TeamThreadRangeMD parallel_reduce

* Use vector_reduce for Cuda, HIP, and SYCL

* Initialize reduction variable

* Test with maximal vector length

* TeamHandle::execution_space->typename TeamHandle::execution_space

* Fix OpenMPTarget

* Restore tests

* reducer is unused

* Workarounds for OpenMPTarget

* Reduce

* Fix OpenMPTarget tests

* Restore tests

* Strengthen test case for OpenMPTarget

* Add some static_asserts
The file was modified algorithms/unit_tests/TestStdAlgorithmsCommon.hpp (diff)
The file was modified core/src/OpenMPTarget/Kokkos_OpenMPTarget_Parallel.hpp (diff)
The file was modified core/src/Kokkos_ExecPolicy.hpp (diff)
The file was modified core/unit_test/TestTeamMDRange.hpp (diff)
Commit 36da6cca7fb4b4b7082f0ec91b4e388578787e8f by noreply
add tests for in-place `inclusive_scan` (#6682)

* add test for inclusive scan in place

* refine tests

* remove comment

* revert transform since it is moved to separate pr
The file was modified algorithms/unit_tests/TestStdAlgorithmsInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamInclusiveScan.cpp (diff)
Commit c048caaf1e51abfd340b3ad8c6417f56982ef462 by ben
Updated descriptive comment.
The file was modified cmake/KokkosConfig.cmake.in (diff)

Summary

  1. Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692) (details)
  2. Check matching static extents in View constructor (#5190) (details)
  3. Remove Kokkos::[b]half_t volatile overloads (#6579) (details)
  4. add tests (details)
  5. Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697) (details)
  6. Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687) (details)
  7. Fix TeamThreadMDRange parallel_reduce (#6511) (details)
  8. add tests for in-place `inclusive_scan` (#6682) (details)
  9. Updated descriptive comment. (details)
Commit 27286c32d7e0c157d1a4d7f00f9441979ed8eabe by noreply
Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692)

* Add NAME_TBD_UNSAFE_ATOMICS configuration option to disable atomics

* Rename configuration option and macro NAME_TBD_UNSAFE_ATOMICS -> ATOMICS_BYPASS

* Improve option description and configuration time error message

Co-Authored-By: Christian Trott <crtrott@sandia.gov>
Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

* Mention Kokkos_ENABLE_ATOMICS_BYPASS option in error msssage

* Simplify sanity check for disabling atomics in <Kokkos_Macros.hpp>

Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

---------

Co-authored-by: Christian Trott <crtrott@sandia.gov>
Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
The file was modified core/src/Kokkos_Atomics_Desul_Wrapper.hpp (diff)
The file was modified cmake/KokkosCore_config.h.in (diff)
The file was modified core/src/Kokkos_Atomics_Desul_Volatile_Wrapper.hpp (diff)
The file was modified cmake/kokkos_enable_options.cmake (diff)
The file was modified core/src/Serial/Kokkos_Serial.cpp (diff)
The file was modified cmake/kokkos_arch.cmake (diff)
The file was modified core/src/Kokkos_Macros.hpp (diff)
Commit 0e4a158a7585f2a93b93d4121788016fe0dba4c9 by noreply
Check matching static extents in View constructor (#5190)

* Also check static extents

* Use separate bools for the two checks and improve error messages

* Improve error messages

* Refactor test

* Add another test

* Extend existing tests

* Use make_index_sequence

* Remove LIVE and DIE

* Try removing guards for OpenMPTarget

* Use different style in view_construction_with_wrong_static_extents

* Remove template template parameter

* Also check unmanaged views

* Fix DynRankView

* Add FIXME

* Pass label by const char *

* fix terminating define

* Deduce rank and dynamic_rank from View

* Only call runtime_check_rank when KOKKOS_ENABLE_DEBUG_BOUNDS_CHECK is defined

* Guard with if constexpr

---------

Co-authored-by: Francesco Rizzi <fnrizzi@sandia.gov>
The file was modified containers/src/Kokkos_DynRankView.hpp (diff)
The file was modified core/unit_test/TestViewAPI.hpp (diff)
The file was modified core/unit_test/TestViewCtorDimMatch.hpp (diff)
The file was modified core/src/impl/Kokkos_ViewArray.hpp (diff)
The file was modified core/src/Kokkos_View.hpp (diff)
Commit 96d530a24034467db26070081b62a0a23c60530e by noreply
Remove Kokkos::[b]half_t volatile overloads (#6579)

* Deprecate Kokkos::[b]half_t volatile overloads

* Remove volatile [b]half_t altogether
The file was modified core/unit_test/TestHalfOperators.hpp (diff)
The file was modified core/src/impl/Kokkos_Half_FloatingPointWrapper.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamTransformInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTransformInclusiveScan.cpp (diff)
Commit 0ba8c40fc56c54bc0fd5808a23cf44e48749c187 by noreply
Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697)

* Move Kokkos_Swap.hpp header to core

* Include only what we use (in <Kokkos_Swap.hpp>)

* Rename header guards in <Kokkos_Swap.hpp> (because I can)

* Drop useless comment

* Fix noexcept specification of Kokkos::swap

* Constexprify Kokkos::swap

* Fixup type requirements in Kokkos::swap

* Drop the inline (because I can)

* fixup! Move Kokkos_Swap.hpp header to core

* Promote swap to namespace Kokkos::

* Move and update Kokkos::swap unit test to core

* Add support for swapping arrays

* Fixup size_t

* Provide Kokkos::swap overload for a few classes

* Rename Kokkos::swap -> Kokkos::kokkos_swap

* For backward compatibility provide deprecated Experimental::swap
The file was modified algorithms/unit_tests/TestStdAlgorithmsModOps.cpp (diff)
The file was modified core/src/Kokkos_Pair.hpp (diff)
The file was modified algorithms/src/std_algorithms/impl/Kokkos_SwapRanges.hpp (diff)
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was modified core/unit_test/CMakeLists.txt (diff)
The file was modified algorithms/src/std_algorithms/impl/Kokkos_Reverse.hpp (diff)
The file was removedalgorithms/src/std_algorithms/Kokkos_Swap.hpp
The file was modified core/src/Kokkos_Array.hpp (diff)
The file was addedcore/src/Kokkos_Swap.hpp
The file was addedcore/unit_test/TestSwap.hpp
The file was modified algorithms/src/sorting/impl/Kokkos_NestedSortImpl.hpp (diff)
The file was modified algorithms/src/std_algorithms/Kokkos_IterSwap.hpp (diff)
The file was modified algorithms/src/Kokkos_StdAlgorithms.hpp (diff)
Commit 89ba3fbae8ab2ae2dbfd30eef05c3bac387630a5 by noreply
Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687)

* Promote min, max, clamp to public

* Drop unnecessary <Kokkos_MinMaxClamp.hpo> header includes

* Split Kokkos_MinMaxClamp.hpp into Kokkos_MinMax.hpp and Kokkos_Clamp.hpp

---------

Co-authored-by: Damien L-G <dalg24@gmail.com>
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Team.hpp (diff)
The file was addedcore/src/Kokkos_MinMax.hpp
The file was addedcore/src/Kokkos_Clamp.hpp
The file was removedcore/src/Kokkos_MinMaxClamp.hpp
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_MDRange.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Range.hpp (diff)
The file was modified core/src/HIP/Kokkos_HIP_TeamPolicyInternal.hpp (diff)
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was modified core/src/Kokkos_View.hpp (diff)
Commit ee5cbfc25c81b9efc5b2a4abd82d9a9d5d3d07bd by noreply
Fix TeamThreadMDRange parallel_reduce (#6511)

* Fix TeamThreadRangeMD parallel_reduce

* Use vector_reduce for Cuda, HIP, and SYCL

* Initialize reduction variable

* Test with maximal vector length

* TeamHandle::execution_space->typename TeamHandle::execution_space

* Fix OpenMPTarget

* Restore tests

* reducer is unused

* Workarounds for OpenMPTarget

* Reduce

* Fix OpenMPTarget tests

* Restore tests

* Strengthen test case for OpenMPTarget

* Add some static_asserts
The file was modified core/src/OpenMPTarget/Kokkos_OpenMPTarget_Parallel.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsCommon.hpp (diff)
The file was modified core/src/Kokkos_ExecPolicy.hpp (diff)
The file was modified core/unit_test/TestTeamMDRange.hpp (diff)
Commit 36da6cca7fb4b4b7082f0ec91b4e388578787e8f by noreply
add tests for in-place `inclusive_scan` (#6682)

* add test for inclusive scan in place

* refine tests

* remove comment

* revert transform since it is moved to separate pr
The file was modified algorithms/unit_tests/TestStdAlgorithmsInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamInclusiveScan.cpp (diff)
Commit c048caaf1e51abfd340b3ad8c6417f56982ef462 by ben
Updated descriptive comment.
The file was modified cmake/KokkosConfig.cmake.in (diff)

Summary

  1. Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692) (details)
  2. Check matching static extents in View constructor (#5190) (details)
  3. Remove Kokkos::[b]half_t volatile overloads (#6579) (details)
  4. add tests (details)
  5. Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697) (details)
  6. Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687) (details)
  7. Fix TeamThreadMDRange parallel_reduce (#6511) (details)
  8. add tests for in-place `inclusive_scan` (#6682) (details)
  9. Updated descriptive comment. (details)
Commit 27286c32d7e0c157d1a4d7f00f9441979ed8eabe by noreply
Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692)

* Add NAME_TBD_UNSAFE_ATOMICS configuration option to disable atomics

* Rename configuration option and macro NAME_TBD_UNSAFE_ATOMICS -> ATOMICS_BYPASS

* Improve option description and configuration time error message

Co-Authored-By: Christian Trott <crtrott@sandia.gov>
Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

* Mention Kokkos_ENABLE_ATOMICS_BYPASS option in error msssage

* Simplify sanity check for disabling atomics in <Kokkos_Macros.hpp>

Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

---------

Co-authored-by: Christian Trott <crtrott@sandia.gov>
Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
The file was modified cmake/kokkos_enable_options.cmake (diff)
The file was modified core/src/Kokkos_Macros.hpp (diff)
The file was modified core/src/Serial/Kokkos_Serial.cpp (diff)
The file was modified cmake/kokkos_arch.cmake (diff)
The file was modified core/src/Kokkos_Atomics_Desul_Wrapper.hpp (diff)
The file was modified cmake/KokkosCore_config.h.in (diff)
The file was modified core/src/Kokkos_Atomics_Desul_Volatile_Wrapper.hpp (diff)
Commit 0e4a158a7585f2a93b93d4121788016fe0dba4c9 by noreply
Check matching static extents in View constructor (#5190)

* Also check static extents

* Use separate bools for the two checks and improve error messages

* Improve error messages

* Refactor test

* Add another test

* Extend existing tests

* Use make_index_sequence

* Remove LIVE and DIE

* Try removing guards for OpenMPTarget

* Use different style in view_construction_with_wrong_static_extents

* Remove template template parameter

* Also check unmanaged views

* Fix DynRankView

* Add FIXME

* Pass label by const char *

* fix terminating define

* Deduce rank and dynamic_rank from View

* Only call runtime_check_rank when KOKKOS_ENABLE_DEBUG_BOUNDS_CHECK is defined

* Guard with if constexpr

---------

Co-authored-by: Francesco Rizzi <fnrizzi@sandia.gov>
The file was modified containers/src/Kokkos_DynRankView.hpp (diff)
The file was modified core/src/Kokkos_View.hpp (diff)
The file was modified core/src/impl/Kokkos_ViewArray.hpp (diff)
The file was modified core/unit_test/TestViewAPI.hpp (diff)
The file was modified core/unit_test/TestViewCtorDimMatch.hpp (diff)
Commit 96d530a24034467db26070081b62a0a23c60530e by noreply
Remove Kokkos::[b]half_t volatile overloads (#6579)

* Deprecate Kokkos::[b]half_t volatile overloads

* Remove volatile [b]half_t altogether
The file was modified core/unit_test/TestHalfOperators.hpp (diff)
The file was modified core/src/impl/Kokkos_Half_FloatingPointWrapper.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTransformInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamTransformInclusiveScan.cpp (diff)
Commit 0ba8c40fc56c54bc0fd5808a23cf44e48749c187 by noreply
Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697)

* Move Kokkos_Swap.hpp header to core

* Include only what we use (in <Kokkos_Swap.hpp>)

* Rename header guards in <Kokkos_Swap.hpp> (because I can)

* Drop useless comment

* Fix noexcept specification of Kokkos::swap

* Constexprify Kokkos::swap

* Fixup type requirements in Kokkos::swap

* Drop the inline (because I can)

* fixup! Move Kokkos_Swap.hpp header to core

* Promote swap to namespace Kokkos::

* Move and update Kokkos::swap unit test to core

* Add support for swapping arrays

* Fixup size_t

* Provide Kokkos::swap overload for a few classes

* Rename Kokkos::swap -> Kokkos::kokkos_swap

* For backward compatibility provide deprecated Experimental::swap
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was modified algorithms/src/std_algorithms/impl/Kokkos_SwapRanges.hpp (diff)
The file was modified algorithms/src/std_algorithms/impl/Kokkos_Reverse.hpp (diff)
The file was modified algorithms/src/std_algorithms/Kokkos_IterSwap.hpp (diff)
The file was modified core/src/Kokkos_Pair.hpp (diff)
The file was addedcore/src/Kokkos_Swap.hpp
The file was modified algorithms/src/Kokkos_StdAlgorithms.hpp (diff)
The file was modified core/src/Kokkos_Array.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsModOps.cpp (diff)
The file was removedalgorithms/src/std_algorithms/Kokkos_Swap.hpp
The file was addedcore/unit_test/TestSwap.hpp
The file was modified core/unit_test/CMakeLists.txt (diff)
The file was modified algorithms/src/sorting/impl/Kokkos_NestedSortImpl.hpp (diff)
Commit 89ba3fbae8ab2ae2dbfd30eef05c3bac387630a5 by noreply
Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687)

* Promote min, max, clamp to public

* Drop unnecessary <Kokkos_MinMaxClamp.hpo> header includes

* Split Kokkos_MinMaxClamp.hpp into Kokkos_MinMax.hpp and Kokkos_Clamp.hpp

---------

Co-authored-by: Damien L-G <dalg24@gmail.com>
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_MDRange.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Range.hpp (diff)
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was modified core/src/Kokkos_View.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Team.hpp (diff)
The file was addedcore/src/Kokkos_MinMax.hpp
The file was removedcore/src/Kokkos_MinMaxClamp.hpp
The file was addedcore/src/Kokkos_Clamp.hpp
The file was modified core/src/HIP/Kokkos_HIP_TeamPolicyInternal.hpp (diff)
Commit ee5cbfc25c81b9efc5b2a4abd82d9a9d5d3d07bd by noreply
Fix TeamThreadMDRange parallel_reduce (#6511)

* Fix TeamThreadRangeMD parallel_reduce

* Use vector_reduce for Cuda, HIP, and SYCL

* Initialize reduction variable

* Test with maximal vector length

* TeamHandle::execution_space->typename TeamHandle::execution_space

* Fix OpenMPTarget

* Restore tests

* reducer is unused

* Workarounds for OpenMPTarget

* Reduce

* Fix OpenMPTarget tests

* Restore tests

* Strengthen test case for OpenMPTarget

* Add some static_asserts
The file was modified core/src/Kokkos_ExecPolicy.hpp (diff)
The file was modified core/unit_test/TestTeamMDRange.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsCommon.hpp (diff)
The file was modified core/src/OpenMPTarget/Kokkos_OpenMPTarget_Parallel.hpp (diff)
Commit 36da6cca7fb4b4b7082f0ec91b4e388578787e8f by noreply
add tests for in-place `inclusive_scan` (#6682)

* add test for inclusive scan in place

* refine tests

* remove comment

* revert transform since it is moved to separate pr
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsInclusiveScan.cpp (diff)
Commit c048caaf1e51abfd340b3ad8c6417f56982ef462 by ben
Updated descriptive comment.
The file was modified cmake/KokkosConfig.cmake.in (diff)

Summary

  1. Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692) (details)
  2. Check matching static extents in View constructor (#5190) (details)
  3. Remove Kokkos::[b]half_t volatile overloads (#6579) (details)
  4. add tests (details)
  5. Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697) (details)
  6. Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687) (details)
  7. Fix TeamThreadMDRange parallel_reduce (#6511) (details)
  8. add tests for in-place `inclusive_scan` (#6682) (details)
  9. Updated descriptive comment. (details)
Commit 27286c32d7e0c157d1a4d7f00f9441979ed8eabe by noreply
Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692)

* Add NAME_TBD_UNSAFE_ATOMICS configuration option to disable atomics

* Rename configuration option and macro NAME_TBD_UNSAFE_ATOMICS -> ATOMICS_BYPASS

* Improve option description and configuration time error message

Co-Authored-By: Christian Trott <crtrott@sandia.gov>
Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

* Mention Kokkos_ENABLE_ATOMICS_BYPASS option in error msssage

* Simplify sanity check for disabling atomics in <Kokkos_Macros.hpp>

Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

---------

Co-authored-by: Christian Trott <crtrott@sandia.gov>
Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
The file was modified core/src/Kokkos_Atomics_Desul_Wrapper.hpp (diff)
The file was modified core/src/Kokkos_Atomics_Desul_Volatile_Wrapper.hpp (diff)
The file was modified core/src/Serial/Kokkos_Serial.cpp (diff)
The file was modified cmake/KokkosCore_config.h.in (diff)
The file was modified cmake/kokkos_enable_options.cmake (diff)
The file was modified cmake/kokkos_arch.cmake (diff)
The file was modified core/src/Kokkos_Macros.hpp (diff)
Commit 0e4a158a7585f2a93b93d4121788016fe0dba4c9 by noreply
Check matching static extents in View constructor (#5190)

* Also check static extents

* Use separate bools for the two checks and improve error messages

* Improve error messages

* Refactor test

* Add another test

* Extend existing tests

* Use make_index_sequence

* Remove LIVE and DIE

* Try removing guards for OpenMPTarget

* Use different style in view_construction_with_wrong_static_extents

* Remove template template parameter

* Also check unmanaged views

* Fix DynRankView

* Add FIXME

* Pass label by const char *

* fix terminating define

* Deduce rank and dynamic_rank from View

* Only call runtime_check_rank when KOKKOS_ENABLE_DEBUG_BOUNDS_CHECK is defined

* Guard with if constexpr

---------

Co-authored-by: Francesco Rizzi <fnrizzi@sandia.gov>
The file was modified containers/src/Kokkos_DynRankView.hpp (diff)
The file was modified core/unit_test/TestViewCtorDimMatch.hpp (diff)
The file was modified core/src/impl/Kokkos_ViewArray.hpp (diff)
The file was modified core/unit_test/TestViewAPI.hpp (diff)
The file was modified core/src/Kokkos_View.hpp (diff)
Commit 96d530a24034467db26070081b62a0a23c60530e by noreply
Remove Kokkos::[b]half_t volatile overloads (#6579)

* Deprecate Kokkos::[b]half_t volatile overloads

* Remove volatile [b]half_t altogether
The file was modified core/unit_test/TestHalfOperators.hpp (diff)
The file was modified core/src/impl/Kokkos_Half_FloatingPointWrapper.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamTransformInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTransformInclusiveScan.cpp (diff)
Commit 0ba8c40fc56c54bc0fd5808a23cf44e48749c187 by noreply
Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697)

* Move Kokkos_Swap.hpp header to core

* Include only what we use (in <Kokkos_Swap.hpp>)

* Rename header guards in <Kokkos_Swap.hpp> (because I can)

* Drop useless comment

* Fix noexcept specification of Kokkos::swap

* Constexprify Kokkos::swap

* Fixup type requirements in Kokkos::swap

* Drop the inline (because I can)

* fixup! Move Kokkos_Swap.hpp header to core

* Promote swap to namespace Kokkos::

* Move and update Kokkos::swap unit test to core

* Add support for swapping arrays

* Fixup size_t

* Provide Kokkos::swap overload for a few classes

* Rename Kokkos::swap -> Kokkos::kokkos_swap

* For backward compatibility provide deprecated Experimental::swap
The file was modified algorithms/src/sorting/impl/Kokkos_NestedSortImpl.hpp (diff)
The file was modified core/src/Kokkos_Array.hpp (diff)
The file was modified core/unit_test/CMakeLists.txt (diff)
The file was modified algorithms/src/std_algorithms/impl/Kokkos_SwapRanges.hpp (diff)
The file was addedcore/src/Kokkos_Swap.hpp
The file was addedcore/unit_test/TestSwap.hpp
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was modified algorithms/src/Kokkos_StdAlgorithms.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsModOps.cpp (diff)
The file was modified core/src/Kokkos_Pair.hpp (diff)
The file was removedalgorithms/src/std_algorithms/Kokkos_Swap.hpp
The file was modified algorithms/src/std_algorithms/impl/Kokkos_Reverse.hpp (diff)
The file was modified algorithms/src/std_algorithms/Kokkos_IterSwap.hpp (diff)
Commit 89ba3fbae8ab2ae2dbfd30eef05c3bac387630a5 by noreply
Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687)

* Promote min, max, clamp to public

* Drop unnecessary <Kokkos_MinMaxClamp.hpo> header includes

* Split Kokkos_MinMaxClamp.hpp into Kokkos_MinMax.hpp and Kokkos_Clamp.hpp

---------

Co-authored-by: Damien L-G <dalg24@gmail.com>
The file was removedcore/src/Kokkos_MinMaxClamp.hpp
The file was modified core/src/Kokkos_View.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_MDRange.hpp (diff)
The file was addedcore/src/Kokkos_MinMax.hpp
The file was modified core/src/HIP/Kokkos_HIP_TeamPolicyInternal.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Range.hpp (diff)
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Team.hpp (diff)
The file was addedcore/src/Kokkos_Clamp.hpp
Commit ee5cbfc25c81b9efc5b2a4abd82d9a9d5d3d07bd by noreply
Fix TeamThreadMDRange parallel_reduce (#6511)

* Fix TeamThreadRangeMD parallel_reduce

* Use vector_reduce for Cuda, HIP, and SYCL

* Initialize reduction variable

* Test with maximal vector length

* TeamHandle::execution_space->typename TeamHandle::execution_space

* Fix OpenMPTarget

* Restore tests

* reducer is unused

* Workarounds for OpenMPTarget

* Reduce

* Fix OpenMPTarget tests

* Restore tests

* Strengthen test case for OpenMPTarget

* Add some static_asserts
The file was modified core/src/Kokkos_ExecPolicy.hpp (diff)
The file was modified core/unit_test/TestTeamMDRange.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsCommon.hpp (diff)
The file was modified core/src/OpenMPTarget/Kokkos_OpenMPTarget_Parallel.hpp (diff)
Commit 36da6cca7fb4b4b7082f0ec91b4e388578787e8f by noreply
add tests for in-place `inclusive_scan` (#6682)

* add test for inclusive scan in place

* refine tests

* remove comment

* revert transform since it is moved to separate pr
The file was modified algorithms/unit_tests/TestStdAlgorithmsInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamInclusiveScan.cpp (diff)
Commit c048caaf1e51abfd340b3ad8c6417f56982ef462 by ben
Updated descriptive comment.
The file was modified cmake/KokkosConfig.cmake.in (diff)

Summary

  1. Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692) (details)
  2. Check matching static extents in View constructor (#5190) (details)
  3. Remove Kokkos::[b]half_t volatile overloads (#6579) (details)
  4. add tests (details)
  5. Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697) (details)
  6. Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687) (details)
  7. Fix TeamThreadMDRange parallel_reduce (#6511) (details)
  8. add tests for in-place `inclusive_scan` (#6682) (details)
  9. Updated descriptive comment. (details)
Commit 27286c32d7e0c157d1a4d7f00f9441979ed8eabe by noreply
Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692)

* Add NAME_TBD_UNSAFE_ATOMICS configuration option to disable atomics

* Rename configuration option and macro NAME_TBD_UNSAFE_ATOMICS -> ATOMICS_BYPASS

* Improve option description and configuration time error message

Co-Authored-By: Christian Trott <crtrott@sandia.gov>
Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

* Mention Kokkos_ENABLE_ATOMICS_BYPASS option in error msssage

* Simplify sanity check for disabling atomics in <Kokkos_Macros.hpp>

Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

---------

Co-authored-by: Christian Trott <crtrott@sandia.gov>
Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
The file was modified core/src/Kokkos_Macros.hpp (diff)
The file was modified cmake/kokkos_enable_options.cmake (diff)
The file was modified cmake/kokkos_arch.cmake (diff)
The file was modified core/src/Serial/Kokkos_Serial.cpp (diff)
The file was modified cmake/KokkosCore_config.h.in (diff)
The file was modified core/src/Kokkos_Atomics_Desul_Volatile_Wrapper.hpp (diff)
The file was modified core/src/Kokkos_Atomics_Desul_Wrapper.hpp (diff)
Commit 0e4a158a7585f2a93b93d4121788016fe0dba4c9 by noreply
Check matching static extents in View constructor (#5190)

* Also check static extents

* Use separate bools for the two checks and improve error messages

* Improve error messages

* Refactor test

* Add another test

* Extend existing tests

* Use make_index_sequence

* Remove LIVE and DIE

* Try removing guards for OpenMPTarget

* Use different style in view_construction_with_wrong_static_extents

* Remove template template parameter

* Also check unmanaged views

* Fix DynRankView

* Add FIXME

* Pass label by const char *

* fix terminating define

* Deduce rank and dynamic_rank from View

* Only call runtime_check_rank when KOKKOS_ENABLE_DEBUG_BOUNDS_CHECK is defined

* Guard with if constexpr

---------

Co-authored-by: Francesco Rizzi <fnrizzi@sandia.gov>
The file was modified core/src/impl/Kokkos_ViewArray.hpp (diff)
The file was modified core/unit_test/TestViewAPI.hpp (diff)
The file was modified core/unit_test/TestViewCtorDimMatch.hpp (diff)
The file was modified core/src/Kokkos_View.hpp (diff)
The file was modified containers/src/Kokkos_DynRankView.hpp (diff)
Commit 96d530a24034467db26070081b62a0a23c60530e by noreply
Remove Kokkos::[b]half_t volatile overloads (#6579)

* Deprecate Kokkos::[b]half_t volatile overloads

* Remove volatile [b]half_t altogether
The file was modified core/src/impl/Kokkos_Half_FloatingPointWrapper.hpp (diff)
The file was modified core/unit_test/TestHalfOperators.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTransformInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamTransformInclusiveScan.cpp (diff)
Commit 0ba8c40fc56c54bc0fd5808a23cf44e48749c187 by noreply
Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697)

* Move Kokkos_Swap.hpp header to core

* Include only what we use (in <Kokkos_Swap.hpp>)

* Rename header guards in <Kokkos_Swap.hpp> (because I can)

* Drop useless comment

* Fix noexcept specification of Kokkos::swap

* Constexprify Kokkos::swap

* Fixup type requirements in Kokkos::swap

* Drop the inline (because I can)

* fixup! Move Kokkos_Swap.hpp header to core

* Promote swap to namespace Kokkos::

* Move and update Kokkos::swap unit test to core

* Add support for swapping arrays

* Fixup size_t

* Provide Kokkos::swap overload for a few classes

* Rename Kokkos::swap -> Kokkos::kokkos_swap

* For backward compatibility provide deprecated Experimental::swap
The file was modified algorithms/src/std_algorithms/Kokkos_IterSwap.hpp (diff)
The file was modified core/src/Kokkos_Pair.hpp (diff)
The file was modified core/src/Kokkos_Array.hpp (diff)
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was addedcore/src/Kokkos_Swap.hpp
The file was modified algorithms/src/std_algorithms/impl/Kokkos_SwapRanges.hpp (diff)
The file was modified algorithms/src/std_algorithms/impl/Kokkos_Reverse.hpp (diff)
The file was modified algorithms/src/Kokkos_StdAlgorithms.hpp (diff)
The file was removedalgorithms/src/std_algorithms/Kokkos_Swap.hpp
The file was addedcore/unit_test/TestSwap.hpp
The file was modified algorithms/src/sorting/impl/Kokkos_NestedSortImpl.hpp (diff)
The file was modified core/unit_test/CMakeLists.txt (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsModOps.cpp (diff)
Commit 89ba3fbae8ab2ae2dbfd30eef05c3bac387630a5 by noreply
Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687)

* Promote min, max, clamp to public

* Drop unnecessary <Kokkos_MinMaxClamp.hpo> header includes

* Split Kokkos_MinMaxClamp.hpp into Kokkos_MinMax.hpp and Kokkos_Clamp.hpp

---------

Co-authored-by: Damien L-G <dalg24@gmail.com>
The file was modified core/src/Kokkos_View.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Range.hpp (diff)
The file was addedcore/src/Kokkos_MinMax.hpp
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_MDRange.hpp (diff)
The file was modified core/src/HIP/Kokkos_HIP_TeamPolicyInternal.hpp (diff)
The file was addedcore/src/Kokkos_Clamp.hpp
The file was removedcore/src/Kokkos_MinMaxClamp.hpp
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Team.hpp (diff)
The file was modified core/src/Kokkos_Core.hpp (diff)
Commit ee5cbfc25c81b9efc5b2a4abd82d9a9d5d3d07bd by noreply
Fix TeamThreadMDRange parallel_reduce (#6511)

* Fix TeamThreadRangeMD parallel_reduce

* Use vector_reduce for Cuda, HIP, and SYCL

* Initialize reduction variable

* Test with maximal vector length

* TeamHandle::execution_space->typename TeamHandle::execution_space

* Fix OpenMPTarget

* Restore tests

* reducer is unused

* Workarounds for OpenMPTarget

* Reduce

* Fix OpenMPTarget tests

* Restore tests

* Strengthen test case for OpenMPTarget

* Add some static_asserts
The file was modified algorithms/unit_tests/TestStdAlgorithmsCommon.hpp (diff)
The file was modified core/src/OpenMPTarget/Kokkos_OpenMPTarget_Parallel.hpp (diff)
The file was modified core/src/Kokkos_ExecPolicy.hpp (diff)
The file was modified core/unit_test/TestTeamMDRange.hpp (diff)
Commit 36da6cca7fb4b4b7082f0ec91b4e388578787e8f by noreply
add tests for in-place `inclusive_scan` (#6682)

* add test for inclusive scan in place

* refine tests

* remove comment

* revert transform since it is moved to separate pr
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsInclusiveScan.cpp (diff)
Commit c048caaf1e51abfd340b3ad8c6417f56982ef462 by ben
Updated descriptive comment.
The file was modified cmake/KokkosConfig.cmake.in (diff)

Summary

  1. Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692) (details)
  2. Check matching static extents in View constructor (#5190) (details)
  3. Remove Kokkos::[b]half_t volatile overloads (#6579) (details)
  4. add tests (details)
  5. Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697) (details)
  6. Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687) (details)
  7. Fix TeamThreadMDRange parallel_reduce (#6511) (details)
  8. add tests for in-place `inclusive_scan` (#6682) (details)
  9. Updated descriptive comment. (details)
Commit 27286c32d7e0c157d1a4d7f00f9441979ed8eabe by noreply
Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692)

* Add NAME_TBD_UNSAFE_ATOMICS configuration option to disable atomics

* Rename configuration option and macro NAME_TBD_UNSAFE_ATOMICS -> ATOMICS_BYPASS

* Improve option description and configuration time error message

Co-Authored-By: Christian Trott <crtrott@sandia.gov>
Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

* Mention Kokkos_ENABLE_ATOMICS_BYPASS option in error msssage

* Simplify sanity check for disabling atomics in <Kokkos_Macros.hpp>

Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

---------

Co-authored-by: Christian Trott <crtrott@sandia.gov>
Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
The file was modified cmake/kokkos_enable_options.cmake (diff)
The file was modified cmake/kokkos_arch.cmake (diff)
The file was modified core/src/Serial/Kokkos_Serial.cpp (diff)
The file was modified core/src/Kokkos_Atomics_Desul_Wrapper.hpp (diff)
The file was modified cmake/KokkosCore_config.h.in (diff)
The file was modified core/src/Kokkos_Atomics_Desul_Volatile_Wrapper.hpp (diff)
The file was modified core/src/Kokkos_Macros.hpp (diff)
Commit 0e4a158a7585f2a93b93d4121788016fe0dba4c9 by noreply
Check matching static extents in View constructor (#5190)

* Also check static extents

* Use separate bools for the two checks and improve error messages

* Improve error messages

* Refactor test

* Add another test

* Extend existing tests

* Use make_index_sequence

* Remove LIVE and DIE

* Try removing guards for OpenMPTarget

* Use different style in view_construction_with_wrong_static_extents

* Remove template template parameter

* Also check unmanaged views

* Fix DynRankView

* Add FIXME

* Pass label by const char *

* fix terminating define

* Deduce rank and dynamic_rank from View

* Only call runtime_check_rank when KOKKOS_ENABLE_DEBUG_BOUNDS_CHECK is defined

* Guard with if constexpr

---------

Co-authored-by: Francesco Rizzi <fnrizzi@sandia.gov>
The file was modified core/src/impl/Kokkos_ViewArray.hpp (diff)
The file was modified core/src/Kokkos_View.hpp (diff)
The file was modified containers/src/Kokkos_DynRankView.hpp (diff)
The file was modified core/unit_test/TestViewCtorDimMatch.hpp (diff)
The file was modified core/unit_test/TestViewAPI.hpp (diff)
Commit 96d530a24034467db26070081b62a0a23c60530e by noreply
Remove Kokkos::[b]half_t volatile overloads (#6579)

* Deprecate Kokkos::[b]half_t volatile overloads

* Remove volatile [b]half_t altogether
The file was modified core/unit_test/TestHalfOperators.hpp (diff)
The file was modified core/src/impl/Kokkos_Half_FloatingPointWrapper.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTransformInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamTransformInclusiveScan.cpp (diff)
Commit 0ba8c40fc56c54bc0fd5808a23cf44e48749c187 by noreply
Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697)

* Move Kokkos_Swap.hpp header to core

* Include only what we use (in <Kokkos_Swap.hpp>)

* Rename header guards in <Kokkos_Swap.hpp> (because I can)

* Drop useless comment

* Fix noexcept specification of Kokkos::swap

* Constexprify Kokkos::swap

* Fixup type requirements in Kokkos::swap

* Drop the inline (because I can)

* fixup! Move Kokkos_Swap.hpp header to core

* Promote swap to namespace Kokkos::

* Move and update Kokkos::swap unit test to core

* Add support for swapping arrays

* Fixup size_t

* Provide Kokkos::swap overload for a few classes

* Rename Kokkos::swap -> Kokkos::kokkos_swap

* For backward compatibility provide deprecated Experimental::swap
The file was modified core/unit_test/CMakeLists.txt (diff)
The file was modified algorithms/src/sorting/impl/Kokkos_NestedSortImpl.hpp (diff)
The file was modified algorithms/src/Kokkos_StdAlgorithms.hpp (diff)
The file was modified core/src/Kokkos_Pair.hpp (diff)
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was modified algorithms/src/std_algorithms/Kokkos_IterSwap.hpp (diff)
The file was modified algorithms/src/std_algorithms/impl/Kokkos_SwapRanges.hpp (diff)
The file was addedcore/src/Kokkos_Swap.hpp
The file was modified algorithms/unit_tests/TestStdAlgorithmsModOps.cpp (diff)
The file was addedcore/unit_test/TestSwap.hpp
The file was removedalgorithms/src/std_algorithms/Kokkos_Swap.hpp
The file was modified algorithms/src/std_algorithms/impl/Kokkos_Reverse.hpp (diff)
The file was modified core/src/Kokkos_Array.hpp (diff)
Commit 89ba3fbae8ab2ae2dbfd30eef05c3bac387630a5 by noreply
Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687)

* Promote min, max, clamp to public

* Drop unnecessary <Kokkos_MinMaxClamp.hpo> header includes

* Split Kokkos_MinMaxClamp.hpp into Kokkos_MinMax.hpp and Kokkos_Clamp.hpp

---------

Co-authored-by: Damien L-G <dalg24@gmail.com>
The file was modified core/src/Kokkos_View.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Team.hpp (diff)
The file was modified core/src/HIP/Kokkos_HIP_TeamPolicyInternal.hpp (diff)
The file was removedcore/src/Kokkos_MinMaxClamp.hpp
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Range.hpp (diff)
The file was addedcore/src/Kokkos_Clamp.hpp
The file was addedcore/src/Kokkos_MinMax.hpp
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_MDRange.hpp (diff)
Commit ee5cbfc25c81b9efc5b2a4abd82d9a9d5d3d07bd by noreply
Fix TeamThreadMDRange parallel_reduce (#6511)

* Fix TeamThreadRangeMD parallel_reduce

* Use vector_reduce for Cuda, HIP, and SYCL

* Initialize reduction variable

* Test with maximal vector length

* TeamHandle::execution_space->typename TeamHandle::execution_space

* Fix OpenMPTarget

* Restore tests

* reducer is unused

* Workarounds for OpenMPTarget

* Reduce

* Fix OpenMPTarget tests

* Restore tests

* Strengthen test case for OpenMPTarget

* Add some static_asserts
The file was modified algorithms/unit_tests/TestStdAlgorithmsCommon.hpp (diff)
The file was modified core/src/Kokkos_ExecPolicy.hpp (diff)
The file was modified core/unit_test/TestTeamMDRange.hpp (diff)
The file was modified core/src/OpenMPTarget/Kokkos_OpenMPTarget_Parallel.hpp (diff)
Commit 36da6cca7fb4b4b7082f0ec91b4e388578787e8f by noreply
add tests for in-place `inclusive_scan` (#6682)

* add test for inclusive scan in place

* refine tests

* remove comment

* revert transform since it is moved to separate pr
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsInclusiveScan.cpp (diff)
Commit c048caaf1e51abfd340b3ad8c6417f56982ef462 by ben
Updated descriptive comment.
The file was modified cmake/KokkosConfig.cmake.in (diff)

Summary

  1. Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692) (details)
  2. Check matching static extents in View constructor (#5190) (details)
  3. Remove Kokkos::[b]half_t volatile overloads (#6579) (details)
  4. add tests (details)
  5. Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697) (details)
  6. Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687) (details)
  7. Fix TeamThreadMDRange parallel_reduce (#6511) (details)
  8. add tests for in-place `inclusive_scan` (#6682) (details)
  9. Updated descriptive comment. (details)
Commit 27286c32d7e0c157d1a4d7f00f9441979ed8eabe by noreply
Add `ATOMICS_BYPASS` configuration option to disable atomics (#6692)

* Add NAME_TBD_UNSAFE_ATOMICS configuration option to disable atomics

* Rename configuration option and macro NAME_TBD_UNSAFE_ATOMICS -> ATOMICS_BYPASS

* Improve option description and configuration time error message

Co-Authored-By: Christian Trott <crtrott@sandia.gov>
Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

* Mention Kokkos_ENABLE_ATOMICS_BYPASS option in error msssage

* Simplify sanity check for disabling atomics in <Kokkos_Macros.hpp>

Co-Authored-By: Daniel Arndt <arndtd@ornl.gov>

---------

Co-authored-by: Christian Trott <crtrott@sandia.gov>
Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
The file was modified core/src/Kokkos_Atomics_Desul_Wrapper.hpp (diff)
The file was modified core/src/Serial/Kokkos_Serial.cpp (diff)
The file was modified cmake/kokkos_enable_options.cmake (diff)
The file was modified core/src/Kokkos_Macros.hpp (diff)
The file was modified cmake/KokkosCore_config.h.in (diff)
The file was modified cmake/kokkos_arch.cmake (diff)
The file was modified core/src/Kokkos_Atomics_Desul_Volatile_Wrapper.hpp (diff)
Commit 0e4a158a7585f2a93b93d4121788016fe0dba4c9 by noreply
Check matching static extents in View constructor (#5190)

* Also check static extents

* Use separate bools for the two checks and improve error messages

* Improve error messages

* Refactor test

* Add another test

* Extend existing tests

* Use make_index_sequence

* Remove LIVE and DIE

* Try removing guards for OpenMPTarget

* Use different style in view_construction_with_wrong_static_extents

* Remove template template parameter

* Also check unmanaged views

* Fix DynRankView

* Add FIXME

* Pass label by const char *

* fix terminating define

* Deduce rank and dynamic_rank from View

* Only call runtime_check_rank when KOKKOS_ENABLE_DEBUG_BOUNDS_CHECK is defined

* Guard with if constexpr

---------

Co-authored-by: Francesco Rizzi <fnrizzi@sandia.gov>
The file was modified core/unit_test/TestViewCtorDimMatch.hpp (diff)
The file was modified core/unit_test/TestViewAPI.hpp (diff)
The file was modified containers/src/Kokkos_DynRankView.hpp (diff)
The file was modified core/src/Kokkos_View.hpp (diff)
The file was modified core/src/impl/Kokkos_ViewArray.hpp (diff)
Commit 96d530a24034467db26070081b62a0a23c60530e by noreply
Remove Kokkos::[b]half_t volatile overloads (#6579)

* Deprecate Kokkos::[b]half_t volatile overloads

* Remove volatile [b]half_t altogether
The file was modified core/unit_test/TestHalfOperators.hpp (diff)
The file was modified core/src/impl/Kokkos_Half_FloatingPointWrapper.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamTransformInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTransformInclusiveScan.cpp (diff)
Commit 0ba8c40fc56c54bc0fd5808a23cf44e48749c187 by noreply
Provide `kokkos_swap` as part of Core and deprecate `Experimental::swap` in Algorithms (#6697)

* Move Kokkos_Swap.hpp header to core

* Include only what we use (in <Kokkos_Swap.hpp>)

* Rename header guards in <Kokkos_Swap.hpp> (because I can)

* Drop useless comment

* Fix noexcept specification of Kokkos::swap

* Constexprify Kokkos::swap

* Fixup type requirements in Kokkos::swap

* Drop the inline (because I can)

* fixup! Move Kokkos_Swap.hpp header to core

* Promote swap to namespace Kokkos::

* Move and update Kokkos::swap unit test to core

* Add support for swapping arrays

* Fixup size_t

* Provide Kokkos::swap overload for a few classes

* Rename Kokkos::swap -> Kokkos::kokkos_swap

* For backward compatibility provide deprecated Experimental::swap
The file was modified algorithms/src/sorting/impl/Kokkos_NestedSortImpl.hpp (diff)
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was removedalgorithms/src/std_algorithms/Kokkos_Swap.hpp
The file was modified algorithms/src/std_algorithms/impl/Kokkos_SwapRanges.hpp (diff)
The file was addedcore/src/Kokkos_Swap.hpp
The file was modified core/src/Kokkos_Array.hpp (diff)
The file was modified algorithms/src/std_algorithms/Kokkos_IterSwap.hpp (diff)
The file was modified algorithms/src/Kokkos_StdAlgorithms.hpp (diff)
The file was addedcore/unit_test/TestSwap.hpp
The file was modified algorithms/src/std_algorithms/impl/Kokkos_Reverse.hpp (diff)
The file was modified core/unit_test/CMakeLists.txt (diff)
The file was modified core/src/Kokkos_Pair.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsModOps.cpp (diff)
Commit 89ba3fbae8ab2ae2dbfd30eef05c3bac387630a5 by noreply
Provide new public headers `<Kokkos_Clamp.hpp>` and `<Kokkos_MinMax.hpp>` (#6687)

* Promote min, max, clamp to public

* Drop unnecessary <Kokkos_MinMaxClamp.hpo> header includes

* Split Kokkos_MinMaxClamp.hpp into Kokkos_MinMax.hpp and Kokkos_Clamp.hpp

---------

Co-authored-by: Damien L-G <dalg24@gmail.com>
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Team.hpp (diff)
The file was modified core/src/Kokkos_View.hpp (diff)
The file was addedcore/src/Kokkos_Clamp.hpp
The file was addedcore/src/Kokkos_MinMax.hpp
The file was removedcore/src/Kokkos_MinMaxClamp.hpp
The file was modified core/src/Kokkos_Core.hpp (diff)
The file was modified core/src/HIP/Kokkos_HIP_TeamPolicyInternal.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_MDRange.hpp (diff)
The file was modified core/src/Cuda/Kokkos_Cuda_Parallel_Range.hpp (diff)
Commit ee5cbfc25c81b9efc5b2a4abd82d9a9d5d3d07bd by noreply
Fix TeamThreadMDRange parallel_reduce (#6511)

* Fix TeamThreadRangeMD parallel_reduce

* Use vector_reduce for Cuda, HIP, and SYCL

* Initialize reduction variable

* Test with maximal vector length

* TeamHandle::execution_space->typename TeamHandle::execution_space

* Fix OpenMPTarget

* Restore tests

* reducer is unused

* Workarounds for OpenMPTarget

* Reduce

* Fix OpenMPTarget tests

* Restore tests

* Strengthen test case for OpenMPTarget

* Add some static_asserts
The file was modified core/src/Kokkos_ExecPolicy.hpp (diff)
The file was modified core/unit_test/TestTeamMDRange.hpp (diff)
The file was modified core/src/OpenMPTarget/Kokkos_OpenMPTarget_Parallel.hpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsCommon.hpp (diff)
Commit 36da6cca7fb4b4b7082f0ec91b4e388578787e8f by noreply
add tests for in-place `inclusive_scan` (#6682)

* add test for inclusive scan in place

* refine tests

* remove comment

* revert transform since it is moved to separate pr
The file was modified algorithms/unit_tests/TestStdAlgorithmsInclusiveScan.cpp (diff)
The file was modified algorithms/unit_tests/TestStdAlgorithmsTeamInclusiveScan.cpp (diff)
Commit c048caaf1e51abfd340b3ad8c6417f56982ef462 by ben
Updated descriptive comment.
The file was modified cmake/KokkosConfig.cmake.in (diff)