Skip to content

[SYCL][Graph] Re-enable immediate command list tests on Windows. - #13685

Merged
martygrant merged 1 commit into
intel:syclfrom
reble:fabio/enable_immediate_cm_windows
May 15, 2024
Merged

martygrant merged 1 commit into
intel:syclfrom
reble:fabio/enable_immediate_cm_windows

Conversation

@fabiomestre

@fabiomestre fabiomestre commented May 7, 2024 •

Copy link
Copy Markdown
Contributor

These tests had been disabled as part of #12344 due to the windows level-zero drivers being out of date on CI. This PR re-enables the disabled tests since the driver version has since been updated and the tests are now passing.

@fabiomestre
fabiomestre force-pushed the fabio/enable_immediate_cm_windows branch from 4b19887 to 01917f7 Compare May 14, 2024 13:32
@fabiomestre
fabiomestre marked this pull request as ready for review May 14, 2024 15:16
@fabiomestre
fabiomestre requested a review from a team as a code owner May 14, 2024 15:16
@fabiomestre

Copy link
Copy Markdown
Contributor Author

@intel/llvm-gatekeepers I think this is ready to merge.

@martygrant
martygrant merged commit d68bac5 into intel:sycl May 15, 2024
EwanC pushed a commit to reble/llvm that referenced this pull request May 16, 2024
After PR intel#13685 merged to re-enabling
running graphs tests on Windows with immediate command lists a
non-deterministic leak has appeared in post-commit CI for a different
PR https://github.com/intel/llvm/actions/runs/9097140304/job/25008463548

Don't run the test on Windows with immediate command lists until this
can be investigated and fixed.

```
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\actions-runner\_work\llvm\llvm\build-e2e\Graph\Explicit\Output\host_task_single.cpp.tmp.out 2>&1 | d:\github\actions-runner\_work\llvm\llvm\install\bin\filecheck.exe D:\github\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\Explicit\host_task_single.cpp --implicit-check-not=LEAK
```
martygrant pushed a commit that referenced this pull request May 16, 2024
After PR #13685 merged to re-enabling
running graph E2E tests on Windows with immediate command lists, a
non-deterministic leak has appeared in post-commit CI for a different PR
https://github.com/intel/llvm/actions/runs/9097140304/job/25008463548

To keep CI green, don't run the test on Windows with immediate command
lists until the leak can be investigated and fixed.

```quote
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\actions-runner\_work\llvm\llvm\build-e2e\Graph\Explicit\Output\host_task_single.cpp.tmp.out 2>&1 | d:\github\actions-runner\_work\llvm\llvm\install\bin\filecheck.exe D:\github\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\Explicit\host_task_single.cpp --implicit-check-not=LEAK
# note: command had no output on stdout or stderr
# error: command failed with exit status: 0xc0000409
# executed command: 'd:\github\actions-runner\_work\llvm\llvm\install\bin\filecheck.exe' 'D:\github\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\Explicit\host_task_single.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\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\Graph\Explicit\host_task_single.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 = 0 \---> zeCommandQueueDestroy = 0  
# |           5:  zeModuleCreate = 0 \---> zeModuleDestroy = 0  
# |           6:  zeKernelCreate = 0 \---> zeKernelDestroy = 0  
# |           7:  zeEventPoolCreate = 1 \---> zeEventPoolDestroy = 0 ---> LEAK = 1 
# |           8:  zeCommandListCreateImmediate = 2 |  
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

```

This branch was previously deployed

1 inactive deployment
WindowsCILock — 01917f78 Deployed May 14, 2024 by fabiomestre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants