NCAR / micm

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

Fix GPU memory leak for the CUDA unit tests #600

Closed sjsprecious closed 1 month ago

sjsprecious commented 1 month ago

This PR:

All the GPU unit tests are now passed for GPU memory check on Derecho's A100 GPU. The integration test is not checked for GPU memory leak because it takes too long.

fix #598

codecov-commenter commented 1 month ago

Codecov Report

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

Project coverage is 93.27%. Comparing base (46d0a74) to head (6206845).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #600 +/- ## ======================================= Coverage 93.27% 93.27% ======================================= Files 49 49 Lines 3464 3467 +3 ======================================= + Hits 3231 3234 +3 Misses 233 233 ```

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

sjsprecious commented 1 month ago

@mattldawson @K20shores @mwaxmonsky I ran the GPU memory leak check for the CUDA integration test on Derecho's A100 GPU. It passed the check within 10963461 ms (~3 hours and 10 minutes).