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

Add Sycl Scan Algorithm #1776

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from
Open

Add Sycl Scan Algorithm #1776

wants to merge 14 commits into from

Conversation

long58
Copy link
Contributor

@long58 long58 commented Dec 4, 2024

Summary

Fulfills #1669. This PR implements a parallel scan algorithm in Sycl.

@long58 long58 requested a review from rhornung67 December 4, 2024 17:07
Comment on lines +76 to +77
auto buffAccessor = buffPtr->get_access(cgh);
auto tempAccessor = tempPtr->get_access(cgh);
Copy link
Member

@MrBurmark MrBurmark Dec 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar with how sycl::buffer objects work, do they make a copy of the data?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the data is already on the device, then no, otherwise yes, it will copy from the host to the device and synchronize them automatically when changes are made to one or the other.

@long58 long58 changed the title Rough implementation of scan algorithm. Add Sycl Scan Algorithm Jan 7, 2025
@long58 long58 marked this pull request as ready for review January 7, 2025 18:46
@long58 long58 requested review from artv3 and rchen20 January 7, 2025 18:47
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.

3 participants