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

Document Experimental::sort_by_key #505

Open
dalg24 opened this issue Feb 28, 2024 · 1 comment
Open

Document Experimental::sort_by_key #505

dalg24 opened this issue Feb 28, 2024 · 1 comment

Comments

@dalg24
Copy link
Member

dalg24 commented Feb 28, 2024

Added in kokkos/kokkos#6801

@nliber
Copy link
Contributor

nliber commented May 9, 2024

Here is what appeared on the 4.3 briefing slide:

Introduced sort by key to dispatch to optimized vendor libraries

ExecutionSpace exec_space ;
Kokkos :: View <int *> keys (" keys ", n);
Kokkos :: View < float *> values (" values ", n);
Kokkos :: Experimental :: sort_by_key ( exec_space , keys , values );

▶ 1D views only
▶ Sizes of keys and values must match
▶ Both keys and values are modified
▶ Dispatches to vendor libraries (Thrust, rocThrust, oneDPL) when available

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

No branches or pull requests

2 participants