Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[CUDA] Regression/unoptimized_stream.cpp fails in pre-ci-cuda. #387

@bader

Description

@bader

The failure in pre-ci-cuda is not related with PR #385 change.

[2021-07-30T06:39:27.415Z] ******************** TEST 'SYCL :: Regression/unoptimized_stream.cpp' FAILED ********************
[2021-07-30T06:39:27.415Z] Script:
[2021-07-30T06:39:27.415Z] --
[2021-07-30T06:39:27.415Z] : 'RUN: at line 1';    /localdisk2/llvm-test-suite_Jenkins/workspace/LLVM-Test-Suite-CI-TMP/LLVM-Test-Suite-CUDA/llvm.obj/bin/clang++      -fsycl -fsycl-targets=nvptx64-nvidia-cuda-sycldevice /localdisk2/llvm-test-suite_Jenkins/workspace/LLVM-Test-Suite-CI-TMP/LLVM-Test-Suite-CUDA/llvm-test-suite/SYCL/Regression/unoptimized_stream.cpp -O0 -o /localdisk2/llvm-test-suite_Jenkins/workspace/LLVM-Test-Suite-CI-TMP/LLVM-Test-Suite-CUDA/build/SYCL/Regression/Output/unoptimized_stream.cpp.tmp.out
[2021-07-30T06:39:27.415Z] : 'RUN: at line 2';   true /localdisk2/llvm-test-suite_Jenkins/workspace/LLVM-Test-Suite-CI-TMP/LLVM-Test-Suite-CUDA/build/SYCL/Regression/Output/unoptimized_stream.cpp.tmp.out
[2021-07-30T06:39:27.415Z] : 'RUN: at line 3';   true /localdisk2/llvm-test-suite_Jenkins/workspace/LLVM-Test-Suite-CI-TMP/LLVM-Test-Suite-CUDA/build/SYCL/Regression/Output/unoptimized_stream.cpp.tmp.out
[2021-07-30T06:39:27.415Z] : 'RUN: at line 4';    env SYCL_DEVICE_FILTER=cuda:gpu,host  /localdisk2/llvm-test-suite_Jenkins/workspace/LLVM-Test-Suite-CI-TMP/LLVM-Test-Suite-CUDA/build/SYCL/Regression/Output/unoptimized_stream.cpp.tmp.out
[2021-07-30T06:39:27.415Z] --
[2021-07-30T06:39:27.415Z] Exit Code: -6
[2021-07-30T06:39:27.415Z] 
[2021-07-30T06:39:27.415Z] Command Output (stdout):
[2021-07-30T06:39:27.415Z] --
[2021-07-30T06:39:27.415Z] $ ":" "RUN: at line 1"
[2021-07-30T06:39:27.415Z] note: command had no output on stdout or stderr
[2021-07-30T06:39:27.416Z] $ "/localdisk2/llvm-test-suite_Jenkins/workspace/LLVM-Test-Suite-CI-TMP/LLVM-Test-Suite-CUDA/llvm.obj/bin/clang++" "-fsycl" "-fsycl-targets=nvptx64-nvidia-cuda-sycldevice" "/localdisk2/llvm-test-suite_Jenkins/workspace/LLVM-Test-Suite-CI-TMP/LLVM-Test-Suite-CUDA/llvm-test-suite/SYCL/Regression/unoptimized_stream.cpp" "-O0" "-o" "/localdisk2/llvm-test-suite_Jenkins/workspace/LLVM-Test-Suite-CI-TMP/LLVM-Test-Suite-CUDA/build/SYCL/Regression/Output/unoptimized_stream.cpp.tmp.out"
[2021-07-30T06:39:27.416Z] note: command had no output on stdout or stderr
[2021-07-30T06:39:27.416Z] $ ":" "RUN: at line 2"
[2021-07-30T06:39:27.416Z] note: command had no output on stdout or stderr
[2021-07-30T06:39:27.416Z] $ "true" "/localdisk2/llvm-test-suite_Jenkins/workspace/LLVM-Test-Suite-CI-TMP/LLVM-Test-Suite-CUDA/build/SYCL/Regression/Output/unoptimized_stream.cpp.tmp.out"
[2021-07-30T06:39:27.416Z] note: command had no output on stdout or stderr
[2021-07-30T06:39:27.416Z] $ ":" "RUN: at line 3"
[2021-07-30T06:39:27.416Z] note: command had no output on stdout or stderr
[2021-07-30T06:39:27.416Z] $ "true" "/localdisk2/llvm-test-suite_Jenkins/workspace/LLVM-Test-Suite-CI-TMP/LLVM-Test-Suite-CUDA/build/SYCL/Regression/Output/unoptimized_stream.cpp.tmp.out"
[2021-07-30T06:39:27.416Z] note: command had no output on stdout or stderr
[2021-07-30T06:39:27.416Z] $ ":" "RUN: at line 4"
[2021-07-30T06:39:27.416Z] note: command had no output on stdout or stderr
[2021-07-30T06:39:27.416Z] $ "env" "SYCL_DEVICE_FILTER=cuda:gpu,host" "/localdisk2/llvm-test-suite_Jenkins/workspace/LLVM-Test-Suite-CI-TMP/LLVM-Test-Suite-CUDA/build/SYCL/Regression/Output/unoptimized_stream.cpp.tmp.out"
[2021-07-30T06:39:27.416Z] # command stderr:
[2021-07-30T06:39:27.416Z] 
[2021-07-30T06:39:27.416Z] PI CUDA ERROR:
[2021-07-30T06:39:27.416Z] 	Value:           4
[2021-07-30T06:39:27.416Z] 	Name:            terminate called after throwing an instance of 'cl::sycl::runtime_error'
[2021-07-30T06:39:27.416Z]   what():  Native API failed. Native API returns: -999 (Unknown OpenCL error code) -999 (Unknown OpenCL error code)
[2021-07-30T06:39:27.416Z] 
[2021-07-30T06:39:27.416Z] error: command failed with exit status: -6
[2021-07-30T06:39:27.416Z] 
[2021-07-30T06:39:27.416Z] --

Originally posted by @yuxianch in #385 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcudaIssues related to execution on CUDA backend.runtimeRuntime library related issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions