intel / intel/llvm

Test SYCL :: GroupAlgorithm/root_group.cpp failing in pre-commit for combination OpenCL && !cpu

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

Description

### Describe the bug

The test SYCL :: GroupAlgorithm/root_group.cpp is failing in pre-commit for the combination OpenCL && !cpu.
Upon resolution, please remove the XFAIL directive from the test source.
The reproduction snippet is taken from here: https://github.com/intel/llvm/actions/runs/9716365508/job/26824199047?pr=14354

### To reproduce

```
# RUN: at line 2
env ONEAPI_DEVICE_SELECTOR=opencl:gpu /__w/llvm/llvm/build-e2e/GroupAlgorithm/Output/root_group.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=opencl:gpu /__w/llvm/llvm/build-e2e/GroupAlgorithm/Output/root_group.cpp.tmp.out
# .---command stderr------------
# | terminate called after throwing an instance of 'sycl::_V1::runtime_error'
# | what(): Native API failed. Native API returns: -999 (Unknown PI error) -999 (Unknown PI error)
# `-----------------------------
# error: command failed with exit status: -6

```

### Environment

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