Skip to content

Conversation

againull
Copy link
Contributor

This PR removes duplicated code between regular and cooperative kernel launches. The only actual difference between these paths is the use of either zeCommandListAppendLaunchKernel or zeCommandListAppendLaunchCooperativeKernel.

This simplifies maintenance by consolidating identical code and reduces the risk of divergence.

This PR removes duplicated code between regular and cooperative kernel launches.
The only actual difference between these paths is the use of either
`zeCommandListAppendLaunchKernel` or `zeCommandListAppendLaunchCooperativeKernel`.

This simplifies maintenance by consolidating identical code and reduces the risk of divergence.
@againull againull requested a review from a team as a code owner July 23, 2025 16:05
@againull againull merged commit a50acd0 into intel:sycl Jul 25, 2025
46 of 47 checks passed
Copy link
Contributor

@KornevNikita KornevNikita left a comment

Choose a reason for hiding this comment

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

@againull likely this patch broke sycl_cts/test_spec_constants on Win & L0 gen12 - https://github.com/intel/llvm/actions/runs/16535612020/job/46770595067

    SYCL exception
    with category name: 'sycl'
    with code: 'invalid'
    with code raw value: '8'
    with code message: 'SYCL Error'
    with what: 'Kernel is incompatible with all devices in devs'

Could you please check? In case this is the guilty one I suggest to temporarily revert if it's not possible to quickly fix it.

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