BOUT-dev icon indicating copy to clipboard operation
BOUT-dev copied to clipboard

Umpire allocator run-time choice

Open bendudson opened this issue 3 years ago • 0 comments

When Umpire is used to allocate memory in Arraythe allocator is fixed to "pinned". This means that arrays are kept in host memory, and transferred to the device every time it's needed. Other allocators might lead to better performance on GPUs.

Umpire allows allocators to be registered, so a run-time option could configure and register in Umpire a "BOUT" allocator, which is then used in Array.

bendudson avatar Jun 23 '22 15:06 bendudson