singa
singa copied to clipboard
memory management: swap+pool
new class of pool: SwapPool important APIs: PoolOpt(), Malloc(), Free() PoolOpt() takes in M/F seq including those induced by swapping cross-iteration variables and last iteration case solved.
Updated the PR as per required on 09 Nov meeting, focused on correctness and code readability.
Replaced the strings with structs in Append function as per requested, updated in branch vd2.
New PR could not be created to Apache master, so it was created to my forked repo.
For the other request, separation of Pool and Swap+Pool into 2 PR is not possible from git, as they were updated mixed and match. But they are well separated in different classes of Device and Memory