intel / intel/llvm

SYCL :: OneapiDeviceSelector/sub-devices.cpp reached timeout on an unrelated change

未关闭
#14,653 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug cuda
主要语言
LLVM
星标
1.5k
派生
854
平均合并
3 天 17 小时
30 天内合并 PR
137

描述

### Describe the bug

Discovered in #14624. The patch should effectively be a non-functional change, but by some reason the test still failed.

### To reproduce

Launching the test should be trivial, but it is likely that environment is involved here, so not sure how easy it will be to reproduce.

### Environment

- OS: Linux
- Target device and vendor: NVIDIA GPU
- DPC++ version: most recent intel/llvm
- Dependencies version:
```
Platform [#1]:
Version : CUDA 12.1
Name : NVIDIA CUDA BACKEND
Vendor : NVIDIA Corporation
Devices : 1
Device [#0]:
Type : gpu
Version : 8.6
Name : NVIDIA A10G
Vendor : NVIDIA Corporation
Driver : CUDA 12.1
Images are not fully supported by the CUDA BE, their support is disabled by default. Their partial support can be activated by setting SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT environment variable at runtime.
UUID : 1631602082331041117584472620418320117151155
```

### Additional context

```
TIMEOUT: SYCL :: OneapiDeviceSelector/sub-devices.cpp (1969 of 2106)
******************** TEST 'SYCL :: OneapiDeviceSelector/sub-devices.cpp' FAILED ********************
Exit Code: -9
Timeout: Reached timeout of 600 seconds

Command Output (stdout):
--
# RUN: at line 9
/__w/llvm/llvm/toolchain/bin//clang++ -fsycl -fsycl-targets=nvptx64-nvidia-cuda /__w/llvm/llvm/llvm/sycl/test-e2e/OneapiDeviceSelector/sub-devices.cpp -o /__w/llvm/llvm/build-e2e/OneapiDeviceSelector/Output/sub-devices.cpp.tmp.out
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -fsycl -fsycl-targets=nvptx64-nvidia-cuda /__w/llvm/llvm/llvm/sycl/test-e2e/OneapiDeviceSelector/sub-devices.cpp -o /__w/llvm/llvm/build-e2e/OneapiDeviceSelector/Output/sub-devices.cpp.tmp.out
# note: command had no output on stdout or stderr
# RUN: at line 14
env ONEAPI_DEVICE_SELECTOR="*:*.*" env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 /__w/llvm/llvm/build-e2e/OneapiDeviceSelector/Output/sub-devices.cpp.tmp.out
# executed command: env 'ONEAPI_DEVICE_SELECTOR=*:*.*' env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 /__w/llvm/llvm/build-e2e/OneapiDeviceSelector/Output/sub-devices.cpp.tmp.out
# .---command stdout------------
# | 0 devices found.
# `-----------------------------
# RUN: at line 15
env ONEAPI_DEVICE_SELECTOR="*:*.*.*" env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 /__w/llvm/llvm/build-e2e/OneapiDeviceSelector/Output/sub-devices.cpp.tmp.out
# executed command: env 'ONEAPI_DEVICE_SELECTOR=*:*.*.*' env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 /__w/llvm/llvm/build-e2e/OneapiDeviceSelector/Output/sub-devices.cpp.tmp.out
# .---command stdout------------
# | 0 devices found.
# `-----------------------------
# error: command failed with exit status: -9
# error: command reached timeout: True
```

Note that the test didn't find any devices at all, which is weird

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。