[SYCL] Deprecate legacy info::platform::profile descriptor#22519
Merged
dm-vodopyanov merged 3 commits intoJul 6, 2026
Conversation
Contributor
|
@crystarm you have an access to the pre-commit logs, right? |
ae156f1 to
bd971ee
Compare
Contributor
Author
|
@KornevNikita |
Contributor
I mean - can you see the failures? There was a failure before you force-pushed (I'd suggest to avoid it, the history is more obvious this way). |
925aec5 to
b18f8f6
Compare
KornevNikita
reviewed
Jul 2, 2026
Contributor
|
@crystarm please fix the format |
Contributor
|
@sergey-semenov could you review please |
dm-vodopyanov
approved these changes
Jul 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #22506.
Summary
info::platform::profileis a legacy SYCL 1.2.1 descriptor that has no equivalent in SYCL 2020. This PR deprecates it and schedules it for removal in the next ABI-break window, following the existing pattern used forinfo::device::atomic64.Changes
sycl/include/sycl/info/platform.hpp: wrapinfo::platform::profilein#ifndef __INTEL_PREVIEW_BREAKING_CHANGESand mark it with__SYCL_DEPRECATEDso users get a compiler warning.sycl/test-e2e/Basic/info.cpp: guard theprofilequery with the same macro so the test compiles in both modes.Behaviour
__INTEL_PREVIEW_BREAKING_CHANGESnot definedprofileavailable, emits deprecation warning__INTEL_PREVIEW_BREAKING_CHANGESdefinedprofileremoved entirely