Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all DEPRECATED_CODE_3 option and all code that was guarded by it #6523

Merged
merged 12 commits into from
Oct 19, 2023

Conversation

dalg24
Copy link
Member

@dalg24 dalg24 commented Oct 18, 2023

Next release will be Kokkos 4.3, about a year after version 4.0, so now is a good time to get rid of these.

This PR removes the Kokkos_ENABLE_DEPRECATED_CODE_3 option and the corresponding KOKKOS_ENABLE_DEPRECATED_CODE_3 macro. All associated code is purged.

Deprecating features being removed include:

  • InitArguments
  • KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_* macros
  • Experimental::{clamp, min, max, minmax}
  • using declarations in the Experimental:: namespace for all math functions and math constants
  • {OpenMP,HPX}::partition_master
  • MasterLock

Comment on lines -169 to -170
// FIXME_OPENMP Can we remove this when removing partition_master? It's only
// used in one partition_master test
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used in UniqueToken::acquire() as stated in commit message

@cz4rs cz4rs self-requested a review October 18, 2023 14:37
@masterleinad
Copy link
Contributor

__w/kokkos/kokkos/core/src/Kokkos_MathematicalFunctions.hpp:17: error: unterminated #ifndef
   17 | #ifndef KOKKOS_MATHEMATICAL_FUNCTIONS_HPP
      | 

Copy link
Contributor

@cz4rs cz4rs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@masterleinad
Copy link
Contributor

Did we check in with customers who were relying on some of these features?

@dalg24
Copy link
Member Author

dalg24 commented Oct 18, 2023

Did we check in with customers who were relying on some of these features?

No.
edit1 and was not planning to do so
edit2 this was brought up at the developer meeting today and there was no objection to merge this

@crtrott crtrott merged commit 92cc6ce into kokkos:develop Oct 19, 2023
27 of 28 checks passed
@dalg24 dalg24 deleted the rm_deprecated_code_3 branch October 19, 2023 17:55
@dalg24 dalg24 mentioned this pull request Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants