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.