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

Confusing statement #3

Open
jnider opened this issue Oct 23, 2020 · 1 comment
Open

Confusing statement #3

jnider opened this issue Oct 23, 2020 · 1 comment

Comments

@jnider
Copy link

jnider commented Oct 23, 2020

buffers[total_buffers]->data[k]=table_data[(first_row*nr_cols)+k];

Is this trying to skip some rows? It is hard for me to read this, and convince myself that the algorithm is correct because I don't really understand what the code is trying to do. Can you add a comment here?

@nzarif
Copy link
Collaborator

nzarif commented Oct 28, 2020

This is just copying data from the 1D array that we have received from Python to the buffers that we are preparing to be pushed to each dpu.

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