intel / intel/llvm

SYCL :: KernelCompiler/sycl_device_globals.cpp fails in pre-commit on CUDA

Open
#19,965 0 comments 0 reactions 0 assignees View on GitHub
bug compiler cuda
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

### Describe the bug

Fails on unrelated changes, see https://github.com/intel/llvm/actions/runs/17439139569?pr=19928
```
FAIL: SYCL :: KernelCompiler/sycl_device_globals.cpp (1246 of 1892)
******************** TEST 'SYCL :: KernelCompiler/sycl_device_globals.cpp' FAILED ********************
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 15
env UR_L0_LEAKS_DEBUG=1 env SYCL_UR_CUDA_ENABLE_IMAGE_SUPPORT=1 ONEAPI_DEVICE_SELECTOR=cuda:gpu /__w/llvm/llvm/build-e2e/KernelCompiler/Output/sycl_device_globals.cpp.tmp.out
# executed command: env UR_L0_LEAKS_DEBUG=1 env SYCL_UR_CUDA_ENABLE_IMAGE_SUPPORT=1 ONEAPI_DEVICE_SELECTOR=cuda:gpu /__w/llvm/llvm/build-e2e/KernelCompiler/Output/sycl_device_globals.cpp.tmp.out
# .---command stderr------------
# | sycl_device_globals.cpp.tmp.out: /__w/llvm/llvm/llvm/sycl/test-e2e/KernelCompiler/sycl_device_globals.cpp:81: auto test_device_global()::(anonymous class)::operator()(int32_t) const: Assertion `val == expected' failed.
# `-----------------------------
# error: command failed with exit status: -6

--
```

### To reproduce

1. Include a code snippet that is as short as possible
2. Specify the command which should be used to compile the program
3. Specify the command which should be used to launch the program
4. Indicate what is wrong and what was expected

### Environment

- OS: [e.g Windows/Linux]
- Target device and vendor: [e.g. Intel GPU]
- DPC++ version: [e.g. commit hash or output of `clang++ --version`]
- Dependencies version: [e.g. the output of `sycl-ls --verbose`]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.