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

Calling group_barrier within a virtual function leads to segfault within a kernel on CPU #15080

Open
AlexeySachkov opened this issue Aug 14, 2024 · 0 comments
Labels
bug Something isn't working confirmed

Comments

@AlexeySachkov
Copy link
Contributor

Describe the bug

sycl/test-e2e/VirtualFunctions/misc/group-barrier.cpp added by #15067 fails on CPU with segfault. It seems like it crashes within a kernel that performs virtual function call

To reproduce

That's an in-tree e2e test, it should be clear how to reproduce it.

Environment

  • OS: Linux
  • Target device and vendor: CPU
  • DPC++ version: any recent intel/llvm
  • Dependencies version: I was using internal version of Intel OCL CPU RT, but I assume that the issue can also be reproduced with older public versions as well

Additional context

This is a pretty new test and barriers handling on CPU is quite complex (it requires some loops re-structuring, see https://youtu.be/Mm5ATyqm7Rw?si=Rrks7dj0kC3Ca3_z), so I wouldn't be surprised if calling a group barrier within a virtual function is completely unsupported by the low-level runtime.

@AlexeySachkov AlexeySachkov added bug Something isn't working confirmed labels Aug 14, 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