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: Make sure to call find_dependency for oneDPL if necessary #6870

Merged
merged 3 commits into from
Mar 13, 2024

Conversation

masterleinad
Copy link
Contributor

@masterleinad masterleinad commented Mar 11, 2024

Without KOKKOS_EXPORT_CMAKE_TPL(oneDPL) we are missing finding oneDPL in downstream code in case oneDPL is not included in the oneAPI installation used for the SYCL backend but is installed as CMake package elsewhere (which is uncommon). This pull request is fixing a bug in the exported configuration for this case.
Also, move linking with oneDPL to algorithms.

Support for oneDPL was initially added in #5229 (Kokkos 4.1.00).

@masterleinad masterleinad changed the title Remove MemorySpace::[de]allocate overloads without labels SYCL: Make sure to call find_dependency for oneDPL if necessary Mar 11, 2024
@dalg24 dalg24 requested a review from Rombur March 11, 2024 20:33
Copy link
Member

@dalg24 dalg24 left a comment

Choose a reason for hiding this comment

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

Please spell out (in the description) when support for oneDPL was added and make it clear this is resolving a bug in the exported configuration.

@dalg24 dalg24 merged commit 5e7cab9 into kokkos:develop Mar 13, 2024
30 of 33 checks passed
@dalg24
Copy link
Member

dalg24 commented Mar 13, 2024

Please add to the 4.3 changelog

@masterleinad masterleinad mentioned this pull request Mar 13, 2024
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