llvm
llvm copied to clipboard
KernelCompiler/sycl_device_globals.cpp sporadically fails on CUDA in CI
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.
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".