Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph/Explicit/host_task_last.cpp failing on Linux Gen12 with unrelated changes #14350

Closed
sarnex opened this issue Jun 28, 2024 · 1 comment
Closed
Labels
bug Something isn't working confirmed sycl-graph

Comments

@sarnex
Copy link
Contributor

sarnex commented Jun 28, 2024

Describe the bug

https://github.com/intel/llvm/actions/runs/9702146538/job/26814068135?pr=14334

 # RUN: at line 1
D:/github/_work/llvm/llvm/install/bin/clang++.exe   -fsycl -fsycl-targets=spir64  D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\Explicit\host_task_last.cpp -o D:\github\_work\llvm\llvm\build-e2e\Graph\Explicit\Output\host_task_last.cpp.tmp.out
# executed command: D:/github/_work/llvm/llvm/install/bin/clang++.exe -fsycl -fsycl-targets=spir64 'D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\Explicit\host_task_last.cpp' -o 'D:\github\_work\llvm\llvm\build-e2e\Graph\Explicit\Output\host_task_last.cpp.tmp.out'
# RUN: at line 2
env ONEAPI_DEVICE_SELECTOR=level_zero:gpu  D:\github\_work\llvm\llvm\build-e2e\Graph\Explicit\Output\host_task_last.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu 'D:\github\_work\llvm\llvm\build-e2e\Graph\Explicit\Output\host_task_last.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\Explicit\Output\host_task_last.cpp.tmp.out 2>&1 | d:\github\_work\llvm\llvm\install\bin\filecheck.exe D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\Explicit\host_task_last.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\Explicit\Output\host_task_last.cpp.tmp.out'
# executed command: 'd:\github\_work\llvm\llvm\install\bin\filecheck.exe' 'D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\Explicit\host_task_last.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\Explicit\Output\host_task_last.cpp.tmp.out 2>&1 | d:\github\_work\llvm\llvm\install\bin\filecheck.exe D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\Explicit\host_task_last.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\Explicit\Output\host_task_last.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\Explicit\host_task_last.cpp' --implicit-check-not=LEAK
# .---command stderr------------
# | command line:1:22: error: IMPLICIT-CHECK-NOT: excluded string found in input
# | -implicit-check-not='LEAK'
# |                      ^
# | <stdin>:3:54: note: found here
# |  zeContextCreate = 1 \---> zeContextDestroy = 0 ---> LEAK = 1
# |                                                      ^~~~
# | 
# | Input file: <stdin>
# | Check file: D:\github\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\Explicit\host_task_last.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           1: Check balance of create/destroy calls 
# |           2: ---------------------------------------------------------- 
# |           3:  zeContextCreate = 1 \---> zeContextDestroy = 0 ---> LEAK = 1 
# | not:imp1                                                          !~~~      error: no match expected
# |           4:  zeCommandQueueCreate = 1 \---> zeCommandQueueDestroy = 0 ---> LEAK = 1 
# |           5:  zeModuleCreate = 1 \---> zeModuleDestroy = 0 ---> LEAK = 1 
# |           6:  zeKernelCreate = 1 \---> zeKernelDestroy = 0 ---> LEAK = 1 
# |           7:  zeEventPoolCreate = 2 \---> zeEventPoolDestroy = 0 ---> LEAK = 2 
# |           8:  zeCommandListCreateImmediate = 2 |  
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

To reproduce

  1. Include a code snippet that is as short as possible
  2. Specify the command which should be used to compile the program
  3. Specify the command which should be used to launch the program
  4. Indicate what is wrong and what was expected

Environment

  • OS: [e.g Windows/Linux]
  • Target device and vendor: [e.g. Intel 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

@sarnex sarnex added bug Something isn't working confirmed labels Jun 28, 2024
sarnex added a commit that referenced this issue Jul 1, 2024
)

#14350

---------

Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
KseniyaTikhomirova pushed a commit to KseniyaTikhomirova/llvm that referenced this issue Jul 1, 2024
…el#14352)

intel#14350

---------

Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
@EwanC
Copy link
Contributor

EwanC commented Jul 8, 2024

Closing this issue as the test has been disabled to fix the reported problem, a separate GitHub Issue #14473 will be used to track the more general problem of leaks in host-tasks + immediate command-lists with Graphs.

@EwanC EwanC closed this as completed Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed sycl-graph
Projects
None yet
Development

No branches or pull requests

2 participants