Parla.py icon indicating copy to clipboard operation
Parla.py copied to clipboard

Reserving memory for an automatically partitioned object will not behave as desired

Open sestephens73 opened this issue 3 years ago • 2 comments

If you call reserve_persistent_memory on an object that is partitioned over devices for automatic data movement, rather than reserving memory for the object on its device context, the automatic mapper will copy the object to the current device context, then reserve memory on the current context. Desired behavior would be leaving the object on its own device and reserving memory on that context. We need better support for this. Current workaround is to call reserve_persistent_memory with an integer argument of the size of the object, and specify its device with the device argument.

sestephens73 avatar Apr 09 '21 03:04 sestephens73