Skip to content

[SYCL] Clarify cache_config as a kernel launch property#21872

Merged
againull merged 2 commits intointel:syclfrom
againull:clarify_cache_config
Apr 29, 2026
Merged

[SYCL] Clarify cache_config as a kernel launch property#21872
againull merged 2 commits intointel:syclfrom
againull:clarify_cache_config

Conversation

@againull
Copy link
Copy Markdown
Contributor

Update the sycl_ext_intel_cache_config specification to state explicitly that cache_config is a runtime kernel launch property: it must be passed to the kernel invocation via launch_config and must not be embedded in a kernel functor via get(properties_tag).

It looks like property-list overloads for single_task/parallel_for are deprecated, so I have removed those from examples in the extension doc. Instead added examples with launch_config.

Also fixed line wrapping to 80 columns.

Updated e2e test accordingly and added test cases for the enqueue free functions (parallel_for, nd_launch) from sycl_ext_oneapi_enqueue_functions with a launch_config (including free function kernel case). Kept coverage for deprecated APIs (just removed embeddings into kernel type).

Assisted-by: Claude

Update the sycl_ext_intel_cache_config specification to state explicitly
that cache_config is a runtime kernel launch property: it must be passed
to the kernel invocation via launch_config and must not be embedded in a
kernel functor via get(properties_tag).

It looks like property-list overloads for single_task/parallel_for are
deprecated, so I have removed those from examples in the extension doc.
Instead added examples with launch_config.

Also fixed line wrapping to 80 columns.

Updated e2e test accordingly and added test cases for the enqueue free
functions (parallel_for, nd_launch) from sycl_ext_oneapi_enqueue_functions
with a launch_config (including free function kernel case).
Kept coverage for deprecated APIs (just removed embeddings into kernel
type).
@againull againull requested review from a team as code owners April 24, 2026 21:28
@againull againull requested a review from slawekptak April 24, 2026 21:28
Comment thread sycl/doc/extensions/experimental/sycl_ext_intel_cache_config.asciidoc Outdated
Comment thread sycl/doc/extensions/experimental/sycl_ext_intel_cache_config.asciidoc Outdated
@againull againull requested a review from gmlueck April 27, 2026 19:15
@againull againull merged commit 367e6ce into intel:sycl Apr 29, 2026
31 of 32 checks passed
@againull againull deleted the clarify_cache_config branch April 30, 2026 00:02
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.

3 participants