Bug ID | 1168632 |
---|---|
Summary | Beignet: |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 15.1 |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | X11 Applications |
Assignee | screening-team-bugs@suse.de |
Reporter | matwey.kornilov@gmail.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
Hi, I am running beignet-1.3.2-lp151.5.2.x86_64 and clpeak-1.0+git.20170625-lp151.2.4.x86_64 on openSUSE Leap 15.1 and see the following issue on Intel(R) HD Graphics IvyBridge GT1 and Intel(R) HD Graphics Haswell GT2 Desktop hardware. Beignet always announces the half-precision floating point support in an OpenCL shader code, so #if defined(cl_khr_fp16) is always evaluated to the true. However, fp16 is not supported on the some hardware like GT1 or GT2 which leads to the crashes like the following with clpeak: Platform: Intel Gen OCL Driver Device: Intel(R) HD Graphics IvyBridge GT1 Driver version : 1.3 (Linux x64) Compute units : 6 Clock frequency : 1000 MHz ASSERTION FAILED: sel.hasHalfType() at file /home/abuild/rpmbuild/BUILD/Beignet-1.3.2-Source/backend/src/backend/gen_insn_selection.cpp, function void gbe::ConvertInstructionPattern::convert32bitsToSmall(gbe::Selection::Opaque&, const gbe::ir::ConvertInstruction&, bool&) const, line 5841 fish: './clpeak' terminated by signal SIGTRAP (Trace or breakpoint trap) Reference: https://gitlab.freedesktop.org/beignet/beignet/-/issues/84 https://github.com/krrishnarraj/clpeak/issues/66