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

[SYCL][DOC] Add an overload for memory_required in joint_sorter #11727

Merged
merged 5 commits into from
Feb 7, 2024

Conversation

andreyfe1
Copy link
Contributor

@andreyfe1 andreyfe1 commented Oct 31, 2023

From the implementation perspective it's important to have memory_required in default_sorters dependent on the SYCL device. It happens because default_sorters has no specified algorithm inside it can depend on the specific SYCL device. radix_sorters has specific algorithm (radix sorter) that doesn't depend on the backend.

Removed constexpr for default sorters since it's extra there. It's still fine for radix sorters since the algorithm is fixed and can't depend on the backend

Signed-off-by: Fedorov, Andrey andrey.fedorov@intel.com

@andreyfe1 andreyfe1 requested a review from a team as a code owner October 31, 2023 16:08
Copy link
Contributor

@Pennycook Pennycook left a comment

Choose a reason for hiding this comment

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

I'd like us to move this over to the Preconditions, Returns format eventually, but I'm happy for that to be done in a separate PR.

@andreyfe1 andreyfe1 force-pushed the device_param_for_default_sort branch from 5acf0e7 to 3b2b9ec Compare January 30, 2024 11:02
@dm-vodopyanov dm-vodopyanov merged commit 653af67 into intel:sycl Feb 7, 2024
2 checks passed
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