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 MemoryUtils::getDefaultDataMemoryResource() for default memory of NumArray and RunQueue #1997

Conversation

grospelliergilles
Copy link
Member

@grospelliergilles grospelliergilles commented Feb 20, 2025

This way these two classes will use the value used in environment variable ARCANE_DEFAULT_DATA_MEMORY_RESOURCE to specify the default memory resource to use for accelerator.

…a mémoire utilisée par défaut pour 'NumArray' et 'RunQueue'.

Auparavant c'était toujours 'UnifiedMemory' et donc cela ne tenait pas
compte du positionnement de la variable d'environnement
'ARCANE_DEFAULT_DATA_MEMORY_RESOURCE'.
@grospelliergilles grospelliergilles added arcane Arcane Component refactoring Code refactoring and cleanup arcane:accelerator Arcane Accelerator API/Runtime labels Feb 20, 2025
@grospelliergilles grospelliergilles self-assigned this Feb 20, 2025
@grospelliergilles grospelliergilles merged commit ebe8a25 into main Feb 20, 2025
30 of 31 checks passed
@grospelliergilles grospelliergilles deleted the dev/gg-use-data-memory-resource-for-numarray-and-runqueue branch February 24, 2025 18:07
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