intel / intel/llvm

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

オープン
#14,653 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug cuda
主要言語
LLVM
スター
1.5k
フォーク
854
平均マージ
3日 17時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。