Assertion failed in lowering.cpp while compiling kernel
Submitted by Max de Bayser
Assigned to Rong Yang @rongyang
Description
Created attachment 122178 This is the kernel that fails to compile
When trying to compile clMagma with beignet I get the following error: ASSERTION FAILED: addrIt != addPtrInsns.end() at file backend/src/ir/lowering.cpp, function void gbe::ir::FunctionArgumentLowerer::lowerIndirectRead(uint32_t), line 335
The file in question that fails is zlaswp.cl, but I've reduced it to a smaller self-contained example that is attached. The first version of beignet that I tried was 1.1.1 that comes in the Fedora package. Then I tried with the latest git revision 4e7d5a0c but I got the same error.
Attachment 122178, "This is the kernel that fails to compile":
reproduce.cl