Bug 94463 - Assertion failed in lowering.cpp while compiling kernel
Summary: Assertion failed in lowering.cpp while compiling kernel
Status: RESOLVED MOVED
Alias: None
Product: Beignet
Classification: Unclassified
Component: Beignet (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: rongyang
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-09 16:55 UTC by Max de Bayser
Modified: 2018-10-12 21:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
This is the kernel that fails to compile (825 bytes, text/plain)
2016-03-09 16:55 UTC, Max de Bayser
Details

Description Max de Bayser 2016-03-09 16:55:35 UTC
Created attachment 122178 [details]
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 4e7d5a0c7a269b2c0b70e37e4e7fcb254065c042 but I got the same error.
Comment 1 Cedric Nugteren 2017-10-23 18:27:50 UTC
I'm also running into this issue with Beignet 1.3.1 while running ArrayFire magma examples with an OpenCL back-end (https://github.com/arrayfire/arrayfire). For example while running the included test/solve_dense_opencl:

ASSERTION FAILED: addrIt != addPtrInsns.end()
  at file /home/cnugteren/Software/beignet/backend/src/ir/lowering.cpp, function void gbe::ir::FunctionArgumentLowerer::lowerIndirectRead(uint32_t), line 341

Is there any plan to look into this issue?
Comment 2 rongyang 2017-11-01 08:05:31 UTC
(In reply to Cedric Nugteren from comment #1)
> I'm also running into this issue with Beignet 1.3.1 while running ArrayFire
> magma examples with an OpenCL back-end
> (https://github.com/arrayfire/arrayfire). For example while running the
> included test/solve_dense_opencl:
> 
> ASSERTION FAILED: addrIt != addPtrInsns.end()
>   at file /home/cnugteren/Software/beignet/backend/src/ir/lowering.cpp,
> function void gbe::ir::FunctionArgumentLowerer::lowerIndirectRead(uint32_t),
> line 341
> 
> Is there any plan to look into this issue?

Can you try release 1.3.2, there is a fix for this assertion.
Comment 3 GitLab Migration User 2018-10-12 21:24:20 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/beignet/beignet/issues/29.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.