NCAR / micm

A model-independent chemistry module for atmosphere models
https://ncar.github.io/micm/
Apache License 2.0
5 stars 5 forks source link

Optimize data movement for CudaRosenbrocksolver and compute minus Jacobian matrix on GPU #436

Closed sjsprecious closed 5 months ago

sjsprecious commented 5 months ago

This PR moves the data movement of array of indices for the diagonal elements of Jacobian matrix to the constructor/destructor of CudaRosenbrocksolver class.

In addition:

All the 41 tests passed on Derecho's A100 GPU with nvhpc/23.7.

Fix #391

codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.66%. Comparing base (570f6ec) to head (50f50ae).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #436 +/- ## ======================================= Coverage 94.66% 94.66% ======================================= Files 38 38 Lines 3057 3057 ======================================= Hits 2894 2894 Misses 163 163 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.