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

stdalgos (9/10): team-level API, and rst update for release 4.2 #403

Merged
merged 22 commits into from
Jun 4, 2024

Conversation

antoinemeyer5
Copy link
Collaborator

@antoinemeyer5 antoinemeyer5 commented Jun 8, 2023

Add team-level API to and convert to rst the following algorithms:

Kokkos_IsSorted.hpp
Kokkos_MinElement.hpp
Kokkos_MaxElement.hpp
Kokkos_MinMaxElement.hpp
Kokkos_IsPartitioned.hpp
Kokkos_PartitionCopy.hpp

NOTE: this follows the new structure for documenting the API, but does not use sphinx because the lack of properly aligning things make things quite unreadable.

Open individual html with Firefox (must be firefox or it won't display correctly)
Archive.zip

@antoinemeyer5 antoinemeyer5 requested a review from fnrizzi June 12, 2023 12:46
@antoinemeyer5 antoinemeyer5 marked this pull request as ready for review June 12, 2023 12:46
@fnrizzi fnrizzi marked this pull request as draft June 13, 2023 15:38
@fnrizzi fnrizzi changed the title std_algos: part 9/10: add team-level API and convert to rst std_algos: part 9/10: add team-level API and convert to rst (DO NOT MERGE UNTIL CODE PR MERGED) Jun 13, 2023
@fnrizzi fnrizzi changed the title std_algos: part 9/10: add team-level API and convert to rst (DO NOT MERGE UNTIL CODE PR MERGED) stdalgos: part 9/10: add team-level API and convert to rst (DO NOT MERGE UNTIL CODE PR MERGED) Dec 9, 2023
@fnrizzi fnrizzi changed the title stdalgos: part 9/10: add team-level API and convert to rst (DO NOT MERGE UNTIL CODE PR MERGED) stdalgos (9/N): team-level API, and rst update for release 4.2 Dec 10, 2023
@fnrizzi fnrizzi changed the title stdalgos (9/N): team-level API, and rst update for release 4.2 stdalgos (9/10): team-level API, and rst update for release 4.2 Dec 10, 2023
@fnrizzi fnrizzi force-pushed the std_teamlevel_p9of10 branch from 4c91a4d to 49773a3 Compare December 16, 2023 10:12
@fnrizzi fnrizzi marked this pull request as ready for review December 16, 2023 10:12
Copy link
Contributor

@ajpowelsnl ajpowelsnl left a comment

Choose a reason for hiding this comment

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

@antoinemeyer5 , @fnrizzi , @crtrott -- fine to merge the updates, but in the future, we should make sure that example code is paste-able and immediately run-able (assuming compilers in place), vs. pseudo code

using view_type = Kokkos::View<int*>;
view_type a("a", 15);
// fill a somehow

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
//TODO: write a tiny loop populating a 1D Kokkos View with a single integer value


namespace KE = Kokkos::Experimental;
Kokkos::View<double*> a("a", 13);
// fill a somehow
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// fill a somehow
// TODO: write a tiny loop populating a 1D Kokkos View with a single integer value


namespace KE = Kokkos::Experimental;
Kokkos::View<double*> a("a", 13);
// fill a somehow
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// fill a somehow
//TODO: write a tiny loop populating a 1D Kokkos View with a single integer value

@crtrott crtrott merged commit 4376306 into kokkos:main Jun 4, 2024
1 check passed
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.

4 participants