-
Notifications
You must be signed in to change notification settings - Fork 8
Final: mo_sethet
#373
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
Final: mo_sethet
#373
Conversation
… first switch from ThreadVectorRange to TeamVectorRange; remove unneeded initialization. Remove team and parallelism from gas_washout.
|
Thanks @odiazib ! Finally ready for a review & merge 😄 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #373 +/- ##
==========================================
- Coverage 95.92% 95.87% -0.05%
==========================================
Files 45 45
Lines 9172 9306 +134
==========================================
+ Hits 8798 8922 +124
- Misses 374 384 +10 ☔ View full report in Codecov by Sentry. |
jeff-cohere
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a couple of comments. Thanks for replacing the other PR with this one, @jaelynlitz .
singhbalwinder
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your hard work and getting it to the finish line!
* convert fortran of sethet to c++ * use pcnst value from modal_aer_opt * polish sethet * compile * add parameters * fix parens * remove extra const * fix includes * code compiles and test runs (and fails) * change gas_pcnst and tolerance * format * add comments * fix gas_washout, indexing issues in sethet * format * fix indexes and validation * remove kokkos for from gas_washout * format and cleanup * remove changes in mo_chm_diags * cleanup var name [skip-ci] * cleanup * add barrier to stop intermittent race condition(?) * add more parallelism in sethet and calc_precip_rescale * format * cleanup * fix compile errors * change loops to vector ranges * change tolerance * format * add additional parallel fors * format * add parallel reduces to calc_precip_rescale * Starting from the commit where tests are passing on GPUs and CPUs, we first switch from ThreadVectorRange to TeamVectorRange; remove unneeded initialization. Remove team and parallelism from gas_washout. * Fix compilation error in CUDA. * Remove parallel_for to fix CUDA sethet test. * Remove team_barriers and combine parallels. * Clang format. * address review comments and format * address bugs from reviews --------- Co-authored-by: Oscar Diaz-Ibarra <[email protected]>
opened to take over #295 to have a clean starting point to debug from