Skip to content

[SYCL][Fusion][NoSTL] Simplify kernel attributes by making them less generic #12376

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

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

jopperm
Copy link
Contributor

@jopperm jopperm commented Jan 12, 2024

Kernel attributes were previously modeled as an std::string name, and an arbitrarily long std::vector of string values, however we currently don't need this genericity to represent reqd_work_group_size and work_group_size_hint attributes. In fact, an attribute kind enum and an Indices object (= 3 integers) suffice.

This PR is part of a series of changes to remove uses of STL classes in the kernel fusion interface to prevent ABI issues in the future.

@jopperm jopperm marked this pull request as ready for review January 16, 2024 10:35
@jopperm jopperm requested a review from a team as a code owner January 16, 2024 10:35
@jopperm
Copy link
Contributor Author

jopperm commented Jan 17, 2024

@intel/llvm-gatekeepers Could you merge this, please?

@sarnex sarnex merged commit a586269 into intel:sycl Jan 17, 2024
@jopperm jopperm deleted the kf-nostl/attrs branch January 17, 2024 21:11
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