Skip to content

[SYCL][Fusion][NoSTL] Use free functions for configuration management #12445

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 24, 2024

Conversation

jopperm
Copy link
Contributor

@jopperm jopperm commented Jan 18, 2024

Untangle the interaction between options and the Config class, and hide Config (which needs to store options in a map) from the KF interface.

The idea is to introduce free functions to interact with the thread_local instance of Config held by the existing ConfigHelper class, instead of letting the client construct the Config object and handing it to over ConfigHelper for storing it.

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 self-assigned this Jan 18, 2024
@jopperm jopperm marked this pull request as ready for review January 18, 2024 22:43
@jopperm jopperm requested a review from a team as a code owner January 18, 2024 22:43
Copy link
Contributor

github-actions bot commented Jan 23, 2024

✅ With the latest revision this PR passed the C/C++ code formatter.

Signed-off-by: Julian Oppermann <julian.oppermann@codeplay.com>
@sommerlukas sommerlukas merged commit 1dd8ea1 into intel:sycl Jan 24, 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