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] Add key/value sorting and array input support in SYCL sorting algorithms #13713

Closed

Conversation

againull
Copy link
Contributor

@againull againull commented May 8, 2024

TODOs before making ready for review:

  • Implement is_blocked/is_striped as compile-time properties and add tests for them.
  • Cleanup (traits, etc.)

Co-authored-by: "Andrei Fedorov andrey.fedorov@intel.com"
Co-authored-by: "Romanov Vlad vlad.romanov@intel.com"

againull added a commit to againull/llvm that referenced this pull request May 30, 2024
…p_sort extension

Current implementation is aligned with the first version of the
extension: https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_group_sort.asciidoc

This second version of the extension:
https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/proposed/sycl_ext_oneapi_group_sort.asciidoc
changes the API by introducing separate sorter objects for
sort_over_group and joint_sort.

Save both versions of API until the second version is not fully implemented. When PRs supporting the second version will
be fully merged and macro will be updated, then old APIs will be removed.

Currently PR doesn't include array input and key/value sorting support.
It's split from larger PR: intel#13713

Co-authored-by: "Andrei Fedorov [andrey.fedorov@intel.com](mailto:andrey.fedorov@intel.com)"
Co-authored-by: "Romanov Vlad [vlad.romanov@intel.com](mailto:vlad.romanov@intel.com)"
@againull
Copy link
Contributor Author

againull commented Jun 4, 2024

Tag @andreyfe1

againull added a commit to againull/llvm that referenced this pull request Jun 10, 2024
…p_sort extension

Current implementation is aligned with the first version of the
extension: https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_group_sort.asciidoc

This second version of the extension:
https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/proposed/sycl_ext_oneapi_group_sort.asciidoc
changes the API by introducing separate sorter objects for
sort_over_group and joint_sort.

Save both versions of API until the second version is not fully implemented. When PRs supporting the second version will
be fully merged and macro will be updated, then old APIs will be removed.

Currently PR doesn't include array input and key/value sorting support.
It's split from larger PR: intel#13713

Co-authored-by: "Andrei Fedorov [andrey.fedorov@intel.com](mailto:andrey.fedorov@intel.com)"
Co-authored-by: "Romanov Vlad [vlad.romanov@intel.com](mailto:vlad.romanov@intel.com)"
againull added a commit that referenced this pull request Jun 10, 2024
…p_sort extension (#13908)

Current implementation is aligned with the first version of the
extension:
https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_group_sort.asciidoc

This second version of the extension:

https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/proposed/sycl_ext_oneapi_group_sort.asciidoc
changes the API by introducing separate sorter objects for
sort_over_group and joint_sort APIs.

Save both versions of API until the second version is not fully
implemented. When PRs supporting the second version will be fully merged
and macro will be updated, then old APIs will be removed.

Currently PR doesn't include array input and key/value sorting support.
It's split from larger PR: #13713

Co-authored-by: "Andrei Fedorov
[andrey.fedorov@intel.com](mailto:andrey.fedorov@intel.com)"
Co-authored-by: "Romanov Vlad
[vlad.romanov@intel.com](mailto:vlad.romanov@intel.com)"
againull added a commit that referenced this pull request Jun 12, 2024
Add group_key_value_sorter sorters and sort_key_value_over_group APIs
based on
https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/proposed/sycl_ext_oneapi_group_sort.asciidoc
extension.

This PR was split out from larger PR:
#13713

Co-authored-by: "Andrei Fedorov
[andrey.fedorov@intel.com](mailto:andrey.fedorov@intel.com)"
Co-authored-by: "Romanov Vlad
[vlad.romanov@intel.com](mailto:vlad.romanov@intel.com)"
ianayl pushed a commit to ianayl/sycl that referenced this pull request Jun 13, 2024
…p_sort extension (intel#13908)

Current implementation is aligned with the first version of the
extension:
https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_group_sort.asciidoc

This second version of the extension:

https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/proposed/sycl_ext_oneapi_group_sort.asciidoc
changes the API by introducing separate sorter objects for
sort_over_group and joint_sort APIs.

Save both versions of API until the second version is not fully
implemented. When PRs supporting the second version will be fully merged
and macro will be updated, then old APIs will be removed.

Currently PR doesn't include array input and key/value sorting support.
It's split from larger PR: intel#13713

Co-authored-by: "Andrei Fedorov
[andrey.fedorov@intel.com](mailto:andrey.fedorov@intel.com)"
Co-authored-by: "Romanov Vlad
[vlad.romanov@intel.com](mailto:vlad.romanov@intel.com)"
ianayl pushed a commit to ianayl/sycl that referenced this pull request Jun 13, 2024
Add group_key_value_sorter sorters and sort_key_value_over_group APIs
based on
https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/proposed/sycl_ext_oneapi_group_sort.asciidoc
extension.

This PR was split out from larger PR:
intel#13713

Co-authored-by: "Andrei Fedorov
[andrey.fedorov@intel.com](mailto:andrey.fedorov@intel.com)"
Co-authored-by: "Romanov Vlad
[vlad.romanov@intel.com](mailto:vlad.romanov@intel.com)"
@againull againull closed this Jul 4, 2024
@againull againull deleted the feature/key_value_and_array_sort_support branch July 9, 2024 20:42
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.

2 participants