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

Added more detailed timers #27

Closed
wants to merge 7 commits into from
Closed

Conversation

johnmauff
Copy link

This PR adds more detailed timers to CAM to help identify which areas of CAM have been GPU-enabled. These changes can be grouped into two different types:

(1). Change the name of the timer to better indicate the subroutine that is called.  For example, the timer 'adv_tracer_src_snk' was replaced by the new name 'chem_timestep_tend'

(2). Additional detail was encoded into some of the timers' names to indicate whether it was executed on the CPU or GPU.

(3) Host-to-device and device-to-host data movement was also indicated through the use of the H2D or D2H strings

@johnmauff johnmauff requested a review from gdicker1 August 9, 2024 17:34
Copy link

@gdicker1 gdicker1 left a comment

Choose a reason for hiding this comment

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

@johnmauff, just a small change to be made in two places and I think this will be ready to go.

Copy link

@gdicker1 gdicker1 left a comment

Choose a reason for hiding this comment

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

Thanks @johnmauff. These changes look good and will be merged soon.

@johnmauff
Copy link
Author

I think I will make the changes to the timer that was mentioned during the call. I will send an update shortly.

@gdicker1 gdicker1 self-requested a review August 16, 2024 20:52
@johnmauff
Copy link
Author

@gdicker1 Dylan, I meant to update the form of the timers in the ew-develop-timers branch, but looking at the history I am concerned that I committed them to ew-develop instead. Sorry if I did this accidentally.

@gdicker1
Copy link

@johnmauff, everything looks good on GitHub for the branch and in the PR. Thanks for the heads up!

@gdicker1
Copy link

@johnmauff, do you think you could rebase this based on cam6_4_019? I got a merge conflict I wasn't sure how to resolve when I tried layering this on top of #31

@johnmauff
Copy link
Author

johnmauff commented Aug 30, 2024 via email

@johnmauff johnmauff closed this Sep 10, 2024
@johnmauff
Copy link
Author

This PR has been replaced by #32

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.

2 participants