Skip to content

[SYCL][NFC] Avoid double allocation in device_impl::get_device_info_string #18099

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
Apr 18, 2025

Conversation

aelovikov-intel
Copy link
Contributor

Before the change: two allocations plus copy between them, after: one allocation plus zero-init of it so should be a strict improvement.

…string`

Before the change: two allocations plus copy between them, after: one allocation
plus zero-init of it so should be a strict improvement.
@aelovikov-intel aelovikov-intel requested a review from a team as a code owner April 18, 2025 16:22
@aelovikov-intel aelovikov-intel marked this pull request as draft April 18, 2025 19:44
@aelovikov-intel aelovikov-intel marked this pull request as ready for review April 18, 2025 21:05
@aelovikov-intel aelovikov-intel merged commit c17f4ef into intel:sycl Apr 18, 2025
37 of 38 checks passed
@aelovikov-intel aelovikov-intel deleted the avoid-double-alloc branch April 18, 2025 21:14
vinser52 pushed a commit to sergey-semenov/llvm that referenced this pull request Apr 22, 2025
…string` (intel#18099)

Before the change: two allocations plus copy between them, after: one
allocation plus zero-init of it so should be a strict improvement.
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