Skip to content

Deprecate execution_capability and execution_capabilities - #22757

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

Deprecate execution_capability and execution_capabilities#22757
mianowski wants to merge 5 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.

using return_type = bool;
};
struct execution_capabilities
struct __SYCL2020_DEPRECATED("deprecated in SYCL 2020") execution_capabilities

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.

Nice catch, I didn't even realize that this is still not deprecated.

}
}

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.

/// [::ur_device_exec_capability_flags_t] device kernel execution
/// capability bit-field
UR_DEVICE_INFO_EXECUTION_CAPABILITIES = 59,
/// [::ur_device_exec_capability_flags_t][deprecated-value] device kernel

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 believe changes on the UR level might be excessive. Just drop SYCL support.

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