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

Add environment variable 'ARCANE_CUDA_MEMORY_HINT_ON_DEVICE' to automatically call 'cudaMemAdvise' on allocated unified memory #1833

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

grospelliergilles
Copy link
Member

This may be used on systems where host can access device memory (i.e. GH200) to prevent copy between host and device memory.

…on de 'cudaMemAdvise()'

Si la variable d'environnement ARCANE_CUDA_MEMORY_HINT_ON_DEVICE est
positionnée à 1, alors on appelle automatiquement 'cudaMemAdvise' pour la
mémoire unifiée en spécifiant qu'on veut effectuer l'allocation sur
l'accélérateur.
@grospelliergilles grospelliergilles added enhancement New feature or request arcane Arcane Component arcane:accelerator Arcane Accelerator API/Runtime labels Dec 10, 2024
@grospelliergilles grospelliergilles self-assigned this Dec 10, 2024
Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.24%. Comparing base (7fa360a) to head (6cf6b6e).
Report is 2 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1833   +/-   ##
=======================================
  Coverage   70.24%   70.24%           
=======================================
  Files        2263     2263           
  Lines      162836   162836           
  Branches    18771    18771           
=======================================
+ Hits       114382   114392   +10     
+ Misses      41672    41666    -6     
+ Partials     6782     6778    -4     

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

@grospelliergilles grospelliergilles merged commit 6aae950 into main Dec 10, 2024
32 checks passed
@grospelliergilles grospelliergilles deleted the dev/gg-add-auto-hint-on-device branch December 12, 2024 12:31
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 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant