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

Change memory allocator on scalar variables (item-kind none) #864

Open
DavidDureau opened this issue Sep 1, 2023 · 1 comment
Open

Change memory allocator on scalar variables (item-kind none) #864

DavidDureau opened this issue Sep 1, 2023 · 1 comment
Labels
arcane:accelerator Arcane Accelerator API/Runtime arcane Arcane Component

Comments

@DavidDureau
Copy link
Collaborator

With an environment variable, we would like to choose if scalar (resp. array) variables (item-kind="none") are allocated with cudaMallocManaged or with the standard memory allocator.

@DavidDureau DavidDureau added arcane Arcane Component arcane:accelerator Arcane Accelerator API/Runtime labels Sep 1, 2023
@grospelliergilles
Copy link
Member

I have look at your issue. I think it will not work if this is done for all variables with item-kind=="none" because for materials, partials values are these kind of variables and so they will not be accessible on accelerators.
Do you need this only for some variables ?

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
Projects
None yet
Development

No branches or pull requests

2 participants