Skip to content

[SYCL] Add removal guard for info::device::atomic64 use-cases#22456

Open
Robertkq wants to merge 1 commit into
intel:syclfrom
Robertkq:Robertkq/14920
Open

[SYCL] Add removal guard for info::device::atomic64 use-cases#22456
Robertkq wants to merge 1 commit into
intel:syclfrom
Robertkq:Robertkq/14920

Conversation

@Robertkq

Copy link
Copy Markdown
Contributor

Fixes issue #14920

This PR guards all info::device::atomic64 related code in include guards for breaking changes.

I have manually tested a sample app that was querying for this info, providing the -fpreview-breaking-changes compile flag to it is now failing with the follow error:

simple-sycl-app.cpp:48:55: error: no member named 'atomic64' in namespace 'sycl::info::device'
   48 |   if (Queue.get_device().get_info<sycl::info::device::atomic64>()) {
      |                                                       ^~~~~~~~
1 error generated.

Which I think is the expected result for the next major release.

@Robertkq Robertkq requested a review from a team as a code owner June 26, 2026 18:14
@Robertkq

Copy link
Copy Markdown
Contributor Author

@KornevNikita can you please review the PR when you have time?
Thanks!

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.

1 participant