Open Quuxplusone opened 3 years ago
Bugzilla Link | PR48520 |
Status | NEW |
Importance | P enhancement |
Reported by | Giuseppe Bilotta (giuseppe.bilotta@gmail.com) |
Reported on | 2020-12-15 11:24:44 -0800 |
Last modified on | 2020-12-18 01:24:17 -0800 |
Version | 11.0 |
Hardware | PC Linux |
CC | llvm-bugs@lists.llvm.org |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
Some additional information:
as mentioned in the pocl issue, the code I'm using to reproduce the issue is sample-reduce
from this repository: https://github.com/Oblomov/learning-sycl
the other samples, that do not use local memory, work correctly;
disabling all access to the local memory for the reduction, but leaving its declaration, still leads to the segmentation fault, suggesting that the issue might be related to the lmem declaration.
I do understand that it's possible that the issue may be in the SPIR produced by the CodePlay compiler, but even if this is the case, I don't think the LLVM library should crash instead of throwing an appropriate error (assuming, of course, that the SPIR anomaly can be caught).