Skip to content

sycl/test-e2e/Basic/buffer/subbuffer.cpp fails on Gen12 OpenCL #15151

@steffenlarsen

Description

@steffenlarsen

Describe the bug

The test sycl/test-e2e/Basic/buffer/subbuffer.cpp fails in OpenCL on Gen12 GPU with:

env ONEAPI_DEVICE_SELECTOR=opencl:gpu  .../build-e2e/Basic/buffer/Output/subbuffer.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=opencl:gpu .../build-e2e/Basic/buffer/Output/subbuffer.cpp.tmp.out
# .---command stdout------------
# | buffer size: 64, subbuffer start: 32
# `-----------------------------
# .---command stderr------------
# | subbuffer.cpp.tmp.out: .../llvm/sycl/test-e2e/Basic/buffer/subbuffer.cpp:130: void check1DSubBuffer(sycl::queue &): Assertion `vec[i] == (i < offset + offset_inside_subbuf ? i * 10 : i * -10) && "Invalid result in buffer overlapped by 1d sub buffer"' 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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions