Skip to content

[SYCL][Reduction] Improve getGroupsCounterAccDiscrete performance #6858

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

Merged
merged 2 commits into from
Sep 23, 2022

Conversation

aelovikov-intel
Copy link
Contributor

No description provided.

Co-authored-by: Steffen Larsen <[email protected]>
Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

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

LGTM.

@steffenlarsen steffenlarsen merged commit 99bdc82 into intel:sycl Sep 23, 2022
device Dev = q.get_device();
auto Deleter = [=](auto *Ptr) { free(Ptr, q); };

std::shared_ptr<int> Counter(malloc_device<int>(1, q), Deleter);
Copy link
Contributor

Choose a reason for hiding this comment

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

Here it is assumed that 'device' allocation is always supported.
If there are any real chance that it is not supported somewhere, then may need to have a copy of that older code.

aelovikov-intel added a commit to aelovikov-intel/llvm that referenced this pull request Sep 23, 2022
steffenlarsen pushed a commit that referenced this pull request Sep 26, 2022
@aelovikov-intel aelovikov-intel deleted the red-memset branch November 8, 2022 20:50
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