framework icon indicating copy to clipboard operation
framework copied to clipboard

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

Open DavidDureau opened this issue 2 years ago • 1 comments

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 avatar Sep 01 '23 06:09 DavidDureau

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 ?

grospelliergilles avatar Sep 12 '23 10:09 grospelliergilles