Skip to content

TEST 'SYCL :: Basic/stream/stream.cpp' FAILED with Linux / HIP AMDGPU LLVM Test Suite #9766

@kchusha

Description

@kchusha

Describe the bug
Test 'SYCL :: Basic/stream/stream.cpp' failed during testing for DPCPP PD WW22
Log file
https://github.com/intel/llvm/actions/runs/5183212557/jobs/9341524141?pr=9694

DPCPP Pulldown branch:
#9694

Error output log (contains basic steps to reproduce)

: 'RUN: at line 1';    /__w/llvm/llvm/toolchain/bin/clang++  -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 -fsycl -fsycl-targets=amdgcn-amd-amdhsa /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/stream/stream.cpp -fsycl-device-code-split=per_kernel -o /__w/llvm/llvm/build-e2e/Basic/stream/Output/stream.cpp.tmp.out
: 'RUN: at line 2';   env ONEAPI_DEVICE_SELECTOR=ext_oneapi_hip:gpu  /__w/llvm/llvm/build-e2e/Basic/stream/Output/stream.cpp.tmp.out  | /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/stream/stream.cpp
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 1"
note: command had no output on stdout or stderr
$ "/__w/llvm/llvm/toolchain/bin/clang++" "-Xsycl-target-backend=amdgcn-amd-amdhsa" "--offload-arch=gfx1031" "-fsycl" "-fsycl-targets=amdgcn-amd-amdhsa" "/__w/llvm/llvm/llvm/sycl/test-e2e/Basic/stream/stream.cpp" "-fsycl-device-code-split=per_kernel" "-o" "/__w/llvm/llvm/build-e2e/Basic/stream/Output/stream.cpp.tmp.out"
# command stderr:
lld: /__w/llvm/llvm/src/llvm/lib/CodeGen/MachineFrameInfo.cpp:55: int llvm::MachineFrameInfo::CreateStackObject(uint64_t, llvm::Align, bool, const llvm::AllocaInst*, uint8_t): Assertion `Size != 0 && "Cannot allocate zero size stack objects!"' failed.

Environment

  • OS: [Linux]
  • Target device and vendor: [HIP AMDGPU]

Comments
I was not able to reproduce this fail myself locally as I didn't have access to necessary machine to do this on.
Test is temporary disabled by 0ca2be5 to unblock the DPCPP Pulldown

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghipIssues related to execution on HIP backend.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions