llvm icon indicating copy to clipboard operation
llvm copied to clipboard

KernelCompiler/sycl_device_globals.cpp sporadically fails on CUDA in CI

Open steffenlarsen opened this issue 2 months ago • 1 comments

Describe the bug

The KernelCompiler/sycl_device_globals.cpp E2E test sporadically fails in CI with

sycl_device_globals.cpp.tmp.out: .../llvm/sycl/test-e2e/KernelCompiler/sycl_device_globals.cpp:84: auto test_device_global()::(anonymous class)::operator()(int32_t) const: Assertion `val == expected' failed.

See https://github.com/intel/llvm/pull/20372 and https://github.com/intel/llvm/pull/20216.

steffenlarsen avatar Oct 21 '25 05:10 steffenlarsen

Image

This fails sporadically but always on the same check: https://github.com/intel/llvm/blob/sycl/sycl/test-e2e/KernelCompiler/sycl_device_globals.cpp#L93

It looks like sometimes "val" copied into "dgAddr" is not set to "123".

kamilfel avatar Nov 25 '25 18:11 kamilfel