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

debug multi-GPU SYCL nstream #524

Open
jeffhammond opened this issue Dec 4, 2020 · 1 comment
Open

debug multi-GPU SYCL nstream #524

jeffhammond opened this issue Dec 4, 2020 · 1 comment
Assignees
Labels

Comments

@jeffhammond
Copy link
Member

There may be a bug in multi-GPU SYCL nstream as reported in AdaptiveCpp/AdaptiveCpp#399

@illuhad

@illuhad
Copy link
Contributor

illuhad commented Dec 4, 2020

Yes, details here:

the value of ls as defined here:

ls[g] = elements_per_gpu;

is used as start offsets of the local buffers, e.g.

const size_t start = (g>0) ? ls[g-1] : 0;

this does not look correct to me as I believe you would need to sum all the local lengths of all preceding GPUs to get the correct start offset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants