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

#84 Add warm up iterations to NemoLite2D timing #85

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

sergisiso
Copy link
Collaborator

@sergisiso sergisiso commented Apr 14, 2022

Add multiple timing sections in the nemolite2D algorithm layer. One of them for warm up time-stepping iterations so device initalisation done in the first iteration don't contribute to the average iteration time.

Also adds HIP backend for kokkos and fixes some issues.

@sergisiso sergisiso self-assigned this Apr 14, 2022
@sergisiso sergisiso force-pushed the 84_add_warmup_timing branch from dc083b1 to e1a7e93 Compare April 14, 2022 08:52
@sergisiso
Copy link
Collaborator Author

@arporter @rupertford This is not ready yet but I realised that changing nemolite2d.f90 is quite tedious because the file is replicated in all manual_implementations and in psykal. And it is important for fair comparison to have them all be equivalent. So I was thinking to do the same we do with namelist and create a original one and then the other be symbolic links to it. I am wondering where this original should be placed. Could you comment if you prefer:

  • Keep it different files as they are now.
  • Have a shared nemolite2d.f90 in manual_implementations root but not share with psykal
  • Have a shared nemolite2d.f90 in the nemolite2d root folder
  • Have a shared nemolite2d.f90 in the nemolite2d/common folder

@arporter
Copy link
Member

I think having just one file is good and I'd prefer putting it in nemolite2d/common.

@arporter
Copy link
Member

arporter commented Sep 7, 2022

@sergisiso is this one ready for review?

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