Bug 102061

Summary: Incompatible pointer to integer conversion hangs compiler
Product: Beignet Reporter: Chris Cummins <chrisc.101>
Component: BeignetAssignee: Zhigang Gong <zhigang.gong>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
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/

Cheers,
Chris
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.