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

Use more explicit name for some NumArray methods #1809

Conversation

grospelliergilles
Copy link
Member

  • Rename NumArray::fill() to NumArray::fillHost()
  • Rename NumArray::resize() to NumArray::resizeDestructive() for rank greater than 1.
  • Add const RunQueue& overload to NumArray::fill() and NumArray::copy().

…e()' et 'fill()' en 'fillHost()'.

Le nouveau nom est plus explicite du comportement attendu.
Les anciennes méthodes existent toujours et seront rendues obsolète dans
6 mois.
…copy()' qui prennent une 'const RunQueue&' en argument.
@grospelliergilles grospelliergilles added arcane Arcane Component refactoring Code refactoring and cleanup arcane:accelerator Arcane Accelerator API/Runtime labels Dec 1, 2024
@grospelliergilles grospelliergilles self-assigned this Dec 1, 2024
@grospelliergilles grospelliergilles force-pushed the dev/gg-use-more-explicit-name-for-some-numarray-methods branch from ba2050f to 10cac1f Compare December 1, 2024 17:24
Copy link

codecov bot commented Dec 1, 2024

Codecov Report

Attention: Patch coverage is 31.25000% with 33 lines in your changes missing coverage. Please review.

Project coverage is 70.25%. Comparing base (cd9d676) to head (10cac1f).
Report is 5 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
arcane/src/arcane/utils/NumArray.h 20.00% 28 Missing ⚠️
...e/src/arcane/tests/accelerator/NumArrayUnitTest.cc 50.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1809      +/-   ##
==========================================
- Coverage   70.26%   70.25%   -0.01%     
==========================================
  Files        2261     2261              
  Lines      162477   162498      +21     
  Branches    18710    18710              
==========================================
+ Hits       114165   114168       +3     
- Misses      41538    41557      +19     
+ Partials     6774     6773       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@grospelliergilles grospelliergilles merged commit 9347e76 into main Dec 1, 2024
30 of 31 checks passed
@grospelliergilles grospelliergilles deleted the dev/gg-use-more-explicit-name-for-some-numarray-methods branch December 3, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arcane:accelerator Arcane Accelerator API/Runtime arcane Arcane Component refactoring Code refactoring and cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant