Skip to content

SYCL :: KernelCompiler/sycl_device_globals.cpp fails in pre-commit on CUDA #19965

@KornevNikita

Description

@KornevNikita

Describe the bug

Fails on unrelated changes, see https://github.com/intel/llvm/actions/runs/17439139569?pr=19928

  FAIL: SYCL :: KernelCompiler/sycl_device_globals.cpp (1246 of 1892)
  ******************** TEST 'SYCL :: KernelCompiler/sycl_device_globals.cpp' FAILED ********************
  Exit Code: -6
  
  Command Output (stdout):
  --
  # RUN: at line 15
  env UR_L0_LEAKS_DEBUG=1 env SYCL_UR_CUDA_ENABLE_IMAGE_SUPPORT=1 ONEAPI_DEVICE_SELECTOR=cuda:gpu  /__w/llvm/llvm/build-e2e/KernelCompiler/Output/sycl_device_globals.cpp.tmp.out
  # executed command: env UR_L0_LEAKS_DEBUG=1 env SYCL_UR_CUDA_ENABLE_IMAGE_SUPPORT=1 ONEAPI_DEVICE_SELECTOR=cuda:gpu /__w/llvm/llvm/build-e2e/KernelCompiler/Output/sycl_device_globals.cpp.tmp.out
  # .---command stderr------------
  # | sycl_device_globals.cpp.tmp.out: /__w/llvm/llvm/llvm/sycl/test-e2e/KernelCompiler/sycl_device_globals.cpp:81: auto test_device_global()::(anonymous class)::operator()(int32_t) const: Assertion `val == expected' failed.
  # `-----------------------------
  # error: command failed with exit status: -6
  
  --

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcompilerCompiler related issuecudaCUDA back-end

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions