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

question about depth_merge's index #2

Open
joye opened this issue Sep 14, 2020 · 0 comments
Open

question about depth_merge's index #2

joye opened this issue Sep 14, 2020 · 0 comments

Comments

@joye
Copy link

joye commented Sep 14, 2020

@asherliu in https://github.com/iHeartGraph/iBFS/blob/master/inspector.cuh#L118,

depth_merge[wid*vec_sz*num_agg_bfs+i*num_agg_bfs+j*vec_sz+LANE]=LEVEL;

the depth_merge is allocated in Allocator.cuh with
const size_t merge_depth_sz = sizeof(depth_t)*vert_count*num_agg_bfs;

I cannot get the relation with the depth_merge index and whole size, especially variable j in the loop, which is from 0 to 3.
for(int j=0;j<4;j++)

And another question, why each vertex need uint4 data type for status check?

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

No branches or pull requests

1 participant