Summary: | Ternary operator not executing | ||
---|---|---|---|
Product: | Beignet | Reporter: | Chris Cummins <chrisc.101> |
Component: | Beignet | Assignee: | Zhigang Gong <zhigang.gong> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Test case |
-- 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/4. |
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.
Created attachment 133380 [details] Test case Hi, I'm having trouble where kernels containing ternary assignments compute the wrong result. I've attached a minimal example, where the kernel is: __kernel void A(__global int* a, __global int* b, __global int* c) { c[0] = 100; c[1] = (a[3] <= b[4]) ? a[4] : b[5]; } // Expected output: c[0] = 100, c[1] = 5 // Actual output: c[0] = 1, c[1] = 2 Device: Intel(R) HD Graphics Haswell GT2 Desktop Beignet version: 1.3 Cheers, Chris