intel / intel/llvm

SYCL::Plugin/level_zero_batch_event_status.cpp fails sporadically

Open
#8,803 4 comments 0 reactions 0 assignees View on GitHub
bug confirmed
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

Log excerpt:
```
FAIL: SYCL :: Plugin/level_zero_batch_event_status.cpp (597 of 807)
******************** TEST 'SYCL :: Plugin/level_zero_batch_event_status.cpp' FAILED ********************
Script:
--
: 'RUN: at line 3'; /__w/llvm/llvm/toolchain/bin/clang++ -fsycl -fsycl-unnamed-lambda -fsycl-targets=spir64 /__w/llvm/llvm/llvm_test_suite/SYCL/Plugin/level_zero_batch_event_status.cpp -o /__w/llvm/llvm/build/SYCL/Plugin/Output/level_zero_batch_event_status.cpp.tmp.out
: 'RUN: at line 6'; env SYCL_PI_LEVEL_ZERO_BATCH_SIZE=4 SYCL_PI_TRACE=2 ZE_DEBUG=1 env SYCL_DEVICE_FILTER=ext_oneapi_level_zero:gpu,host /__w/llvm/llvm/build/SYCL/Plugin/Output/level_zero_batch_event_status.cpp.tmp.out 2>&1 | FileCheck /__w/llvm/llvm/llvm_test_suite/SYCL/Plugin/level_zero_batch_event_status.cpp
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 3"
note: command had no output on stdout or stderr
$ "/__w/llvm/llvm/toolchain/bin/clang++" "-fsycl" "-fsycl-unnamed-lambda" "-fsycl-targets=spir64" "/__w/llvm/llvm/llvm_test_suite/SYCL/Plugin/level_zero_batch_event_status.cpp" "-o" "/__w/llvm/llvm/build/SYCL/Plugin/Output/level_zero_batch_event_status.cpp.tmp.out"
note: command had no output on stdout or stderr
$ ":" "RUN: at line 6"
note: command had no output on stdout or stderr
$ "env" "SYCL_PI_LEVEL_ZERO_BATCH_SIZE=4" "SYCL_PI_TRACE=2" "ZE_DEBUG=1" "env" "SYCL_DEVICE_FILTER=ext_oneapi_level_zero:gpu,host" "/__w/llvm/llvm/build/SYCL/Plugin/Output/level_zero_batch_event_status.cpp.tmp.out"
note: command had no output on stdout or stderr
$ "FileCheck" "/__w/llvm/llvm/llvm_test_suite/SYCL/Plugin/level_zero_batch_event_status.cpp"
# command stderr:
/__w/llvm/llvm/llvm_test_suite/SYCL/Plugin/level_zero_batch_event_status.cpp:29:11: error: CHECK: expected string not found in input
// CHECK: ---> piEnqueueKernelLaunch
^
:447:20: note: scanning from here
---> piEventGetInfo(
^
:468:1: note: possible intended match here
---> piQueueRelease(
^

Input file:
Check file: /__w/llvm/llvm/llvm_test_suite/SYCL/Plugin/level_zero_batch_event_status.cpp

-dump-input=help explains the following input dump.

Input was:
<<<<<<
.
.
.
442: ZE ---> zeCommandListClose(CommandList->first)
443: ZE ---> zeCommandQueueExecuteCommandLists(ZeCommandQueue, 1, &ZeCommandList, CommandList->second.ZeFence)
444: ZE ---> zeHostSynchronize(ZeQueue)
445: ) ---> pi_result : PI_SUCCESS
446:
447: ---> piEventGetInfo(
check:29'0 X~ error: no match found
448: pi_event : 0x1bee7d0
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~
449: : 4563
check:29'0 ~~~~~~~~~~~~~~~~~~
450: : 4
check:29'0 ~~~~~~~~~~~~~~~
451: : 0x7ffcc900b58c
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
452:
check:29'0 ~~~~~~~~~~~
.
.
.
463: pi_event : 0x1d12140
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~
464: ZE ---> zeEventDestroy(Event->ZeEvent)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
465: PI ---> QueueRelease(Event->Queue, LockedQueue)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
466: ) ---> pi_result : PI_SUCCESS
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
467:
check:29'0 ~
468: ---> piQueueRelease(
check:29'0 ~~~~~~~~~~~~~~~~~~~~~
check:29'1 ? possible intended match
469: : 0x1bfbd00
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~
470: ZE ---> zeHostSynchronize(ZeQueue)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
471: ZE ---> zeFenceReset(CommandList->second.ZeFence)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
472: ZE ---> zeCommandListReset(CommandList->first)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
473: PI ---> piKernelRelease(pi_cast(CommandData))
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.
>>>>>>

error: command failed with exit status: 1

--
```
Driver info:
```
[opencl:gpu:0] Intel(R) OpenCL HD Graphics, Intel(R) UHD Graphics 630 [0x3e92] 3.0 [22.09.22577]
[opencl:cpu:1] Intel(R) OpenCL, Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 3.0 [2021.13.11.0.23_160000]
[ext_oneapi_level_zero:gpu:0] Intel(R) Level-Zero, Intel(R) UHD Graphics 630 [0x3e92] 1.3 [1.3.22577]
[host:host:0] SYCL host platform, SYCL host device 1.2 [1.2]

Platforms: 4
Platform [#1]:
Version : OpenCL 3.0
Name : Intel(R) OpenCL HD Graphics
Vendor : Intel(R) Corporation
Devices : 1
Device [#0]:
Type : gpu
Version : 3.0
Name : Intel(R) UHD Graphics 630 [0x3e92]
Vendor : Intel(R) Corporation
Driver : 22.09.22577
Platform [#2]:
Version : OpenCL 3.0 LINUX
Name : Intel(R) OpenCL
Vendor : Intel(R) Corporation
Devices : 1
Device [#1]:
Type : cpu
Version : 3.0
Name : Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Vendor : Intel(R) Corporation
Driver : 2021.13.11.0.23_160000
Platform [#3]:
Version : 1.3
Name : Intel(R) Level-Zero
Vendor : Intel(R) Corporation
Devices : 1
Device [#0]:
Type : gpu
Version : 1.3
Name : Intel(R) UHD Graphics 630 [0x3e92]
Vendor : Intel(R) Corporation
Driver : 1.3.22577
Platform [#4]:
Version : 1.2
Name : SYCL host platform
Vendor :
Devices : 1
Device [#0]:
Type : host
Version : 1.2
Name : SYCL host device
Vendor :
Driver : 1.2
default_selector() : gpu, Intel(R) Level-Zero, Intel(R) UHD Graphics 630 [0x3e92] 1.3 [1.3.22577]
host_selector() : host, SYCL host platform, SYCL host device 1.2 [1.2]
accelerator_selector() : No device of requested type available. -1 (CL_DEVI...
cpu_selector() : cpu, Intel(R) OpenCL, Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 3.0 [2021.13.11.0.23_160000]
gpu_selector() : gpu, Intel(R) Level-Zero, Intel(R) UHD Graphics 630 [0x3e92] 1.3 [1.3.22577]
custom_selector(gpu) : gpu, Intel(R) Level-Zero, Intel(R) UHD Graphics 630 [0x3e92] 1.3 [1.3.22577]
custom_selector(cpu) : cpu, Intel(R) OpenCL, Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 3.0 [2021.13.11.0.23_160000]
custom_selector(acc) : No device of requested type available. -1 (CL_DEVI...
```

Pull request, that triggered failure: https://github.com/intel/llvm/pull/5756

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.