Bug 102061 - Incompatible pointer to integer conversion hangs compiler
Summary: Incompatible pointer to integer conversion hangs compiler
Alias: None
Product: Beignet
Classification: Unclassified
Component: Beignet (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Zhigang Gong
QA Contact:
Depends on:
Reported: 2017-08-06 20:59 UTC by Chris Cummins
Modified: 2018-10-12 21:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Chris Cummins 2017-08-06 20:59:13 UTC
Compilation of this kernel loops indefinitely, consuming 100% CPU usage and increasing amount of memory, until the entire system memory is consumed and the process fails:

kernel void A(global int* a) {
  int b = get_global_id(0);
  a[b] = a + 1;

Removing the '+ 1' prevents the compilation hang, as does assigning to 'a[0]'.

Full test case is here: http://paste.ubuntu.com/25180351/

Comment 1 GitLab Migration User 2018-10-12 21:22:22 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/3.

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.