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

Introduce Kokkos::Profiling::Region to profile tpl calls #204

Merged
merged 6 commits into from
Jan 27, 2025

Conversation

yasahi-hpc
Copy link
Collaborator

@yasahi-hpc yasahi-hpc commented Nov 28, 2024

Resolves #201

In this PR, we introduce Kokkos::Profiling::pushRegion Kokkos::Profiling::ScopedRegion to profile the timings of tpl calls.

@yasahi-hpc yasahi-hpc self-assigned this Nov 28, 2024
@yasahi-hpc yasahi-hpc added the enhancement New feature or request label Nov 28, 2024
Copy link
Member

@dalg24 dalg24 left a comment

Choose a reason for hiding this comment

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

I didn't look at all the changes but the one I saw were a better fit for Kokkos::Profiling::ScopedRegion

@yasahi-hpc
Copy link
Collaborator Author

I didn't look at all the changes but the one I saw were a better fit for Kokkos::Profiling::ScopedRegion

Thank you for the comments. I was not aware of this.
Clearly, this is what I need

Copy link
Collaborator

@rb214678 rb214678 left a comment

Choose a reason for hiding this comment

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

Except my small cosmetic question/comment, this looks good to me.

@yasahi-hpc
Copy link
Collaborator Author

@rb214678 Thank you for the review. I have fixed accordingly.

@yasahi-hpc yasahi-hpc requested a review from rb214678 January 25, 2025 08:57
@yasahi-hpc yasahi-hpc merged commit d42b1f2 into kokkos:main Jan 27, 2025
19 of 20 checks passed
@yasahi-hpc yasahi-hpc deleted the introduce-regions branch January 27, 2025 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce regions for better profiling with kokkos-tools
3 participants