llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[BINDLESS][L0][WINDOWS] O0 opt level specific failures for image device kernel APIs

Open JackAKirk opened this issue 7 months ago • 0 comments

Some sampling/sampled-fetch/read API tests fail on windows L0 only at O0 opt level. I've added tests for this here: https://github.com/intel/llvm/pull/18485

These tests fail with

SYCL exception caught! : The program was built for 1 devices
Build program log for 'Intel(R) Arc(TM) A770 Graphics':

error: Inconsistent use of image!
error: backend compiler failed build.

on L0 backend, only on windows. This error goes away if fetch_image (using either sampled or unsampled image)/ sample_image calls are commented out. This only occurs on L0 backend, pointing to issues with spirv implementations for this backend.

This could be related to, and help diagnose driver issues of other failed tests: see https://github.com/intel/llvm/issues/18727

JackAKirk avatar Jun 11 '25 12:06 JackAKirk