Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
steffenlarsen opened this issue Aug 21, 2024 · 0 comments
Open

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

steffenlarsen opened this issue Aug 21, 2024 · 0 comments
Labels
bug Something isn't working confirmed

Comments

@steffenlarsen
Copy link
Contributor

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

@steffenlarsen steffenlarsen added bug Something isn't working confirmed labels Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed
Projects
None yet
Development

No branches or pull requests

1 participant