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

what does nPtr[i] mean in your Algorithm 1? #1

Open
shadow150519 opened this issue Aug 7, 2023 · 1 comment
Open

what does nPtr[i] mean in your Algorithm 1? #1

shadow150519 opened this issue Aug 7, 2023 · 1 comment

Comments

@shadow150519
Copy link

shadow150519 commented Aug 7, 2023

hello, I' reading your paper and I wonder what is stored in nPtr[i]?
Can you explain to me what target is in alg1 line13 target = min(nPtr[i] +ePerGPU,nPtr[numNodes]) ?
image

@YukeWang96
Copy link
Owner

Hi, Thanks for reaching out! nptr is the node pointer array in graph CSR and nptr[i] means the neighbors (edges) starting index of node-i, you can refer to this https://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_row_(CSR,_CRS_or_Yale_format)

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

2 participants