[Pkg-opencl-devel] Bug#948563: beignet: some operations crash with LLVM 8+

Rebecca N. Palmer rebecca_palmer at zoho.com
Fri Jan 10 07:55:55 GMT 2020


Package: beignet-opencl-icd
Version: 1.3.2-7
Severity: important
Control: block 947435 by -1

(The above version only exists in Salsa; earlier versions won't build at 
all with LLVM 8+.)

When beignet is built with LLVM 8+, some operations assert-fail:

compiler_rotate()ASSERTION FAILED: Unsupported intrinsics
   at file /build/beignet-1.3.2/backend/src/llvm/llvm_gen_backend.cpp, 
function void gbe::GenWriter::regAllocateCallInst(llvm::CallInst&), line 
3865
Trace/breakpoint trap

compiler_subgroup_buffer_block_write_ui1()ASSERTION FAILED: index < 
this->size()
   at file /build/beignet-1.3.2/backend/src/./sys/vector.hpp, function 
T& gbe::vector<T>::operator[](size_t) [with T = gbe::GenRegInterval; 
size_t = long unsigned int], line 66
Trace/breakpoint trap

(I think the second one affects all of 
compiler_subgroup_(image|buffer)_block_*)

Given that these are crashes not silently wrong answers, I'd rather have 
beignet with them than no beignet when LLVM 7 is removed (#947438), but 
this is open to discussion. (intel-opencl-icd is not a complete 
replacement, as it doesn't support older hardware or CL-GL sharing.)



More information about the Pkg-opencl-devel mailing list