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] Use inheritance to implement oneapi properties #16024

Merged
merged 5 commits into from
Nov 13, 2024

Conversation

aelovikov-intel
Copy link
Contributor

@aelovikov-intel aelovikov-intel commented Nov 8, 2024

This is based on @rolandschulz 's #13776.

The only remaining boost/mp11 usage is to sort/filter properties, I'm going to remove that in a separate PRs.

I've also left multiple utilities (that accept variadic pack) still using std::tuple as their implementation detail. That can be cleaned up separately as well.

Closes #13677.

@aelovikov-intel aelovikov-intel changed the title [WIP][SYCL] Use inheritance to implement oneapi properties [SYCL] Use inheritance to implement oneapi properties Nov 8, 2024
@aelovikov-intel
Copy link
Contributor Author

Ping @steffenlarsen

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! I especially like how much more readable the constexpr functions are.

sycl::ext::oneapi::experimental::empty_properties_t InvalidPropertyList7{
sycl::ext::oneapi::experimental::foo{0}};
/*
// TODO: Uncomment these lines once https://github.com/intel/llvm/issues/13677
// has been fixed.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suppose #13677 can be closed, even if it's not necessarily fixed? 🤔

# Conflicts:
#	sycl/test/check_device_code/group_load.cpp
#	sycl/test/check_device_code/group_store.cpp
@aelovikov-intel aelovikov-intel merged commit 61d963b into intel:sycl Nov 13, 2024
13 checks passed
@aelovikov-intel aelovikov-intel deleted the properties-inheritance branch November 13, 2024 18:46
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.

Clang crash from properties constructor changes
3 participants