<div dir="ltr"><div style="font-size:12.8px">On Wed, 4 Oct 2017 04:06:18 +0100 Ghislain Vaillant <<a href="mailto:ghisvail@gmail.com" target="_blank">ghisvail@gmail.com</a>> wrote:</div><div style="font-size:12.8px">> Hi Rebecca,</div><div style="font-size:12.8px">> </div><div style="font-size:12.8px">> On Sat, 30 Sep 2017 14:47:03 +0100 "Rebecca N. Palmer" </div><div style="font-size:12.8px">> <<a href="mailto:rebecca_palmer@zoho.com" target="_blank">rebecca_palmer@zoho.com</a>> wrote:</div><div style="font-size:12.8px">> > Package: libclblas2</div><div style="font-size:12.8px">> > Version: 2.12-1</div><div style="font-size:12.8px">> > Control: tags -1 upstream</div><div style="font-size:12.8px">> > Control: affects -1 beignet-opencl-icd</div><div style="font-size:12.8px">> > </div><div style="font-size:12.8px">> > Some clblas operations use '0.0' (a double-precision literal) not '0.0f' </div><div style="font-size:12.8px">> > (a single-precision literal) even when processing single-precision arrays.</div><div style="font-size:12.8px">> > </div><div style="font-size:12.8px">> > This causes it to crash on GPUs that don't support double precision:</div><div style="font-size:12.8px">> > </div><div style="font-size:12.8px">> > ASSERTION FAILED: sel.hasDoubleType()</div><div style="font-size:12.8px">> >    at file </div><div style="font-size:12.8px">> > /build/beignet-1.3.1/backend/<wbr>src/backend/gen_insn_<wbr>selection.cpp, </div><div style="font-size:12.8px">> > function void </div><div style="font-size:12.8px">> > gbe::<wbr>ConvertInstructionPattern::<wbr>convertBetweenFloatDouble(gbe:<wbr>:Selection::Opaque&, </div><div style="font-size:12.8px">> > const gbe::ir::ConvertInstruction&, bool&) const, line 6148</div><div style="font-size:12.8px">> > </div><div style="font-size:12.8px">> > This particular 0.0 appears to have come from </div><div style="font-size:12.8px">> > <a href="http://sources.debian.net/src/clblas/2.12-1/src/library/blas/AutoGemm/KernelOpenCL.py/#L368" target="_blank">http://sources.debian.net/src/<wbr>clblas/2.12-1/src/library/<wbr>blas/AutoGemm/KernelOpenCL.py/<wbr>#L368</a>, </div><div style="font-size:12.8px">> > but there may well be more.</div><div style="font-size:12.8px">> > </div><div style="font-size:12.8px">> > This issue also exists in upstream git.</div><div style="font-size:12.8px">> </div><div style="font-size:12.8px">> Are you aware of an existing bug filed upstream for this? If so, could </div><div style="font-size:12.8px">> you link it to this bug report with an appropriate forward comand ?</div><div style="font-size:12.8px">> </div><div style="font-size:12.8px">> Otherwise, would you please consider filing the bug upstream, since you </div><div style="font-size:12.8px">> already triaged it as non Debian specific.</div><div style="font-size:12.8px">> </div><div style="font-size:12.8px">> Thanks for investigating this.</div><div style="font-size:12.8px">> </div><div style="font-size:12.8px">> Ghis</div><div style="font-size:12.8px">> </div><div style="font-size:12.8px">> </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Hi, I am also getting this same error message while trying to run some examples from pyopencl</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">It seems like issue with beignet-1.3.1 package.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am running debian buster & beignet=1.3.1-1</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">This is the message I am getting</div><div style="font-size:12.8px;margin-left:3ch"><div>ASSERTION FAILED: sel.hasDoubleType()</div><div>  at file /build/beignet-1.3.1/backend/<wbr>src/backend/gen_insn_<wbr>selection.cpp, function void gbe::<wbr>ConvertInstructionPattern::<wbr>convertBetweenFloatDouble(gbe:<wbr>:Selection::Opaque&, const gbe::ir::ConvertInstruction&, bool&) const, line 6148</div><div>Trace/breakpoint trap</div></div><div><br></div>
</div>