Closed
Description
See https://github.com/intel/llvm/runs/7240670323?check_suite_focus=true. The relevant part of the log is
$ ":" "RUN: at line 13"
note: command had no output on stdout or stderr
$ "env" "SYCL_PI_LEVEL_ZERO_TRACK_INDIRECT_ACCESS_MEMORY=1" "env" "SYCL_DEVICE_FILTER=ext_oneapi_cuda:gpu,host" "SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1" "/__w/llvm/llvm/build/SYCL/Assert/Output/assert_in_simultaneous_kernels.cpp.tmp.out"
# redirected output from '/__w/llvm/llvm/build/SYCL/Assert/Output/assert_in_simultaneous_kernels.cpp.tmp.txt':
/__w/llvm/llvm/llvm_test_suite/SYCL/Assert/assert_in_simultaneous_kernels.hpp:13: void assertFunc(): block: [9
PI CUDA ERROR:,7
Value: ,0710], thread: [0
Name: ,0CUDA_ERROR_ASSERT,0
Description: ] Assertion `false && "from assert statement"device-side assert triggered
Function: record
Source Location: /__w/llvm/llvm/src/sycl/plugins/cuda/pi_cuda.cpp:570` failed.
terminate called after throwing an instance of 'cl::sycl::runtime_error'
what(): Native API failed. Native API returns: -999 (Unknown PI error) -999 (Unknown PI error)
note: command had no output on stdout or stderr
error: command failed with exit status: -6
$ "true"
later
$ "env" "SYCL_DEVICE_FILTER=ext_oneapi_cuda:gpu,host" "SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1" "FileCheck" "/__w/llvm/llvm/llvm_test_suite/SYCL/Assert/assert_in_simultaneous_kernels.cpp" "--input-file" "/__w/llvm/llvm/build/SYCL/Assert/Output/assert_in_simultaneous_kernels.cpp.tmp.txt"
# command stderr:
/__w/llvm/llvm/llvm_test_suite/SYCL/Assert/assert_in_simultaneous_kernels.cpp:19:11: error: CHECK: expected string not found in input
// CHECK: {{.*}}assert_in_simultaneous_kernels.hpp:13: void assertFunc(): {{.*}}[9,7,0], {{.*}}[0,0,0]
^
/__w/llvm/llvm/build/SYCL/Assert/Output/assert_in_simultaneous_kernels.cpp.tmp.txt:1:1: note: scanning from here
/__w/llvm/llvm/llvm_test_suite/SYCL/Assert/assert_in_simultaneous_kernels.hpp:13: void assertFunc(): block: [9
^
/__w/llvm/llvm/build/SYCL/Assert/Output/assert_in_simultaneous_kernels.cpp.tmp.txt:1:40: note: possible intended match here
/__w/llvm/llvm/llvm_test_suite/SYCL/Assert/assert_in_simultaneous_kernels.hpp:13: void assertFunc(): block: [9
^
Input file: /__w/llvm/llvm/build/SYCL/Assert/Output/assert_in_simultaneous_kernels.cpp.tmp.txt
Check file: /__w/llvm/llvm/llvm_test_suite/SYCL/Assert/assert_in_simultaneous_kernels.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: /__w/llvm/llvm/llvm_test_suite/SYCL/Assert/assert_in_simultaneous_kernels.hpp:13: void assertFunc(): block: [9
check:19'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
check:19'1 ? possible intended match
2: PI CUDA ERROR:,7
check:19'0 ~~~~~~~~~~~~~~~~~
3: Value: ,0710], thread: [0
check:19'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
4: Name: ,0CUDA_ERROR_ASSERT,0
check:19'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5: Description: ] Assertion `false && "from assert statement"device-side assert triggered
check:19'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6: Function: record
check:19'0 ~~~~~~~~~~~~~~~~~~
.
.
.
>>>>>>
error: command failed with exit status: 1
It looks like some line-buffering results in output from different places intermixed.