Parla.py
Parla.py copied to clipboard
Reserving memory for an automatically partitioned object will not behave as desired
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.