Skip to content

[SYCL][E2E][BINDLESS] Add ptr to ptr of image_handle test failing on level zero only #18721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 11, 2025

Conversation

JackAKirk
Copy link
Contributor

@JackAKirk JackAKirk commented May 29, 2025

This test passes on the cuda backend but fails on level_zero. It allocates a single element array of unsampled_image_handle*, pointing to a valid unsampled_image_handle that is dereferenced on the device. The casting to generic void* is not necessary to make the test fail on l0, but is done to keep this test matching the original bug report we received.

Note that rewriting this test to make an identical dereference with for example a single 2d C array of long passes on level_zero, indicating that this issue is specific to image_handles.

@JackAKirk JackAKirk requested a review from a team as a code owner May 29, 2025 09:17
Signed-off-by: JackAKirk <[email protected]>
Copy link
Contributor

@ProGTX ProGTX left a comment

Choose a reason for hiding this comment

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

I think the code makes sense, but it's difficult to understand what's going on, I've made some suggestions to help the reader. So if it's passing on CUDA but failing on L0 it might be an issue with either the L0 driver or with IGC.

Signed-off-by: JackAKirk <[email protected]>
Signed-off-by: JackAKirk <[email protected]>
switch to sampled_image_handle example

Signed-off-by: JackAKirk <[email protected]>
@JackAKirk
Copy link
Contributor Author

@intel/llvm-gatekeepers this is ready to merge.

Thanks

@kbenzie kbenzie changed the title [E2E][BINDLESS] Add ptr to ptr of image_handle test failing on level zero only [SYCL][E2E][BINDLESS] Add ptr to ptr of image_handle test failing on level zero only Jun 11, 2025
@kbenzie kbenzie merged commit b437083 into intel:sycl Jun 11, 2025
23 checks passed
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