Skip to content

Deprecate execution_capability and execution_capabilities - #22757

Draft
mianowski wants to merge 6 commits into
intel:syclfrom
mianowski:chore/URT-1231-deprecate-execution_capability
Draft

Deprecate execution_capability and execution_capabilities#22757
mianowski wants to merge 6 commits into
intel:syclfrom
mianowski:chore/URT-1231-deprecate-execution_capability

Conversation

@mianowski

@mianowski mianowski commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Covers #22735

@KornevNikita KornevNikita left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preliminary draft review.

Comment thread sycl/include/sycl/info/device.hpp
}
}

template <> std::string info_to_string(info::execution_capability info) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should remove code in this test. It's deprecated to encourage users to drop using this, although we're still supporting it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please note the behavior is still tested in execution_capabilities_legacy.cpp‎, whereas it doesn't pollute this general smoke test

@KornevNikita KornevNikita Aug 3, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to not create a new test, just keep this one and guard the code with __INTEL_PREVIEW_BREAKING_CHANGES
UPD. sorry there is no need for macro as we don't plan to remove this. We can just keep this code without macro. Changes to sycl/test/warnings/sycl_2020_deprecations.cpp should be enough.

Comment thread unified-runtime/include/unified-runtime/ur_api.h Outdated
This reverts commit 6995ac9.
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