Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace the strings with structs #1

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

Replace the strings with structs #1

wants to merge 19 commits into from

Conversation

junzhezhang
Copy link
Owner

Replace the strings with structs in Append function, as per requested in PR apache#412.

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.

delay swap_plan() by 3 more iterations

update train

correct swap_sched(), swap_select(),swap_plan()

correct load update in swap_select

vec_run changed to new 3 iterations

correct vec_run36 index issue

correct overhead issue, verify vec_run.t

vec_run duplicate to avoid sorting issue
verified itm 5 indices in Table_sched

vec_swap_select pass by reference in swap_sched()

impl swap_update_tables(), before DeploySwap(), both at Append()

for time being, remove negative r_idx itms && git push origin vd1

handle last itr by impl sizeSqn and verification to change asyncSwapFlag back to 0
correct swap_construct_tables(), included negative r_idx for swap_update_tables() and DeploySwap()

include negative r_idx for DeploySwap()

impl GetRealGpuPtr() to swapIn nullptr Block at last iteration

impl GetRealGpuPtr(), and optimize data() and mutable_data()

impl GetRealGpuPtr(), and optimize data() and mutable_data()

verify const issue

change to return tempData instead of updating data_

without remove erasing in Table_not_at_device

milestone of last itr, at 550 MB
new class of pool: SwapPool
important APIs: PoolOpt(), Malloc(), Free()
PoolOpt() takes in M/F sequences including those induced by swapping
cross-iteration variables and last iteration case solved.

record down MF after swap done, for one iteration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant