intel / llvm

Intel staging area for llvm.org contribution. Home for Intel LLVM-based projects.
Other
1.23k stars 735 forks source link

usm_copy.cpp throws unhandled exception #15561

Open bader opened 3 weeks ago

bader commented 3 weeks ago

Describe the bug

Post-commit for https://github.com/intel/llvm/commit/a04915eb855fd4d0e8f821fe91d826a161e78e0e (non-functional change) failed on Windows.

Link to the log: https://github.com/intel/llvm/actions/runs/11112035073/job/30875331091

FAIL: SYCL :: Graph/RecordReplay/usm_copy.cpp (1170 of 2188)
******************** TEST 'SYCL :: Graph/RecordReplay/usm_copy.cpp' FAILED ********************
Exit Code: 3221226505

Command Output (stdout):
--
# RUN: at line 1
D:/github/_work/llvm/llvm/install/bin/clang++.exe  -Werror  -fsycl -fsycl-targets=spir64  D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\RecordReplay\usm_copy.cpp -o D:\github\_work\llvm\llvm\build-e2e\Graph\RecordReplay\Output\usm_copy.cpp.tmp.out
# executed command: D:/github/_work/llvm/llvm/install/bin/clang++.exe -Werror -fsycl -fsycl-targets=spir64 'D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\RecordReplay\usm_copy.cpp' -o 'D:\github\_work\llvm\llvm\build-e2e\Graph\RecordReplay\Output\usm_copy.cpp.tmp.out'
# .---command stderr------------
# | warning: overriding the module target triple with x86_64-pc-windows-msvc19.33.31[62](https://github.com/intel/llvm/actions/runs/11112035073/job/30875331091#step:12:63)9 [-Woverride-module]
# | 1 warning generated.
# `-----------------------------
# RUN: at line 2
env ONEAPI_DEVICE_SELECTOR=level_zero:gpu  D:\github\_work\llvm\llvm\build-e2e\Graph\RecordReplay\Output\usm_copy.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu 'D:\github\_work\llvm\llvm\build-e2e\Graph\RecordReplay\Output\usm_copy.cpp.tmp.out'
# RUN: at line 4
env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 env UR_L0_LEAKS_DEBUG=1 SYCL_ENABLE_DEFAULT_CONTEXTS=0 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu  D:\github\_work\llvm\llvm\build-e2e\Graph\RecordReplay\Output\usm_copy.cpp.tmp.out 2>&1 | d:\github\_work\llvm\llvm\install\bin\filecheck.exe D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\RecordReplay\usm_copy.cpp --implicit-check-not=LEAK
# executed command: env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 env UR_L0_LEAKS_DEBUG=1 SYCL_ENABLE_DEFAULT_CONTEXTS=0 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu 'D:\github\_work\llvm\llvm\build-e2e\Graph\RecordReplay\Output\usm_copy.cpp.tmp.out'
# executed command: 'd:\github\_work\llvm\llvm\install\bin\filecheck.exe' 'D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\RecordReplay\usm_copy.cpp' --implicit-check-not=LEAK
# RUN: at line 6
env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 env UR_L0_LEAKS_DEBUG=1 SYCL_ENABLE_DEFAULT_CONTEXTS=0 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu  D:\github\_work\llvm\llvm\build-e2e\Graph\RecordReplay\Output\usm_copy.cpp.tmp.out 2>&1 | d:\github\_work\llvm\llvm\install\bin\filecheck.exe D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\RecordReplay\usm_copy.cpp --implicit-check-not=LEAK
# executed command: env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 env UR_L0_LEAKS_DEBUG=1 SYCL_ENABLE_DEFAULT_CONTEXTS=0 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu 'D:\github\_work\llvm\llvm\build-e2e\Graph\RecordReplay\Output\usm_copy.cpp.tmp.out'
# note: command had no output on stdout or stderr
# error: command failed with exit status: 0xc0000409
# executed command: 'd:\github\_work\llvm\llvm\install\bin\filecheck.exe' 'D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\RecordReplay\usm_copy.cpp' --implicit-check-not=LEAK

--

********************

To reproduce

See the log of the failed job for the steps to reproduce the issue.

Environment

Additional context

No response

EwanC commented 3 weeks ago

ping @intel/sycl-graphs-reviewers