Skip to content

[SYCL] Don't copy string when tracing is not enabled #16596

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 2 commits into from
Jan 13, 2025

Conversation

againull
Copy link
Contributor

Currently we pass by value and always copy the path even if tracing is not enabled which is expensive. Fix to pass by reference and do the copy/modification only if tracing is enabled.

Currently we pass by value and always copy the path even if tracing is
not enabled. Fix to pass by reference and do the copy/modification only
if tracing is enabled.
@againull againull requested a review from a team as a code owner January 11, 2025 01:05
@sergey-semenov sergey-semenov merged commit 1a7e2f0 into intel:sycl Jan 13, 2025
17 checks passed
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.

2 participants