intel / intel/llvm

[ESIMD] SYCL :: InvokeSimd/Feature/invoke_simd_struct.cpp and SYCL :: InvokeSimd/Feature/ImplicitSubgroup/invoke_simd_struct.cpp failing on gpu

Open
#14,543 1 comment 0 reactions 0 assignees View on GitHub
bug confirmed esimd
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

### Describe the bug

Tests `SYCL :: InvokeSimd/Feature/ImplicitSubgroup/invoke_simd_struct.cpp` and `SYCL :: InvokeSimd/Feature/invoke_simd_struct.cpp` are failing on gpu.
Upon resolution, please remove XFAIL from test sources.
Snippet taken from: https://github.com/intel/llvm/actions/runs/9716365508/job/26824198678?pr=14354

### To reproduce

```
# RUN: at line 4
/__w/llvm/llvm/toolchain/bin//clang++ -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/InvokeSimd/Feature/ImplicitSubgroup/invoke_simd_struct.cpp -DIMPL_SUBGROUP -fno-sycl-device-code-split-esimd -Xclang -fsycl-allow-func-ptr -o /__w/llvm/llvm/build-e2e/InvokeSimd/Feature/ImplicitSubgroup/Output/invoke_simd_struct.cpp.tmp.out
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/InvokeSimd/Feature/ImplicitSubgroup/invoke_simd_struct.cpp -DIMPL_SUBGROUP -fno-sycl-device-code-split-esimd -Xclang -fsycl-allow-func-ptr -o /__w/llvm/llvm/build-e2e/InvokeSimd/Feature/ImplicitSubgroup/Output/invoke_simd_struct.cpp.tmp.out
# note: command had no output on stdout or stderr
# RUN: at line 5
env IGC_VCSaveStackCallLinkage=1 IGC_VCDirectCallsOnly=1 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu /__w/llvm/llvm/build-e2e/InvokeSimd/Feature/ImplicitSubgroup/Output/invoke_simd_struct.cpp.tmp.out
# executed command: env IGC_VCSaveStackCallLinkage=1 IGC_VCDirectCallsOnly=1 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu /__w/llvm/llvm/build-e2e/InvokeSimd/Feature/ImplicitSubgroup/Output/invoke_simd_struct.cpp.tmp.out
# note: command had no output on stdout or stderr
# error: command failed with exit status: -11
```

### Environment

- OS: Agnostic
- Target device and vendor: 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.