[Pkg-opencl-devel] Updating beignet backport?

Rebecca N. Palmer rebecca_palmer at zoho.com
Fri May 27 17:47:14 UTC 2016


jessie-backports currently has beignet 1.0.3, which was recently found 
to cause graphical corruption on some systems 
(https://lists.debian.org/debian-backports/2016/05/msg00114.html).

beignet 1.1.2 (with the patch there to use llvm 3.5) avoids this 
problem, and also adds support for Skylake hardware.

Unfortunately, it also assert-fails (i.e. kills the whole application 
instead of just returning an error) on some invalid OpenCL code; I 
haven't yet had time to investigate this further.

(1.1.2 on jessie)
running test  2
Unresolved symbol: cossss
Aborting...
Caller instruction:
   %30 = tail call i32 %expanded(double %29) #6
Callee function:
   %expanded = bitcast i32 (...)* @cossss to i32 (double)*
ASSERTION FAILED: 0
   at file 
/tmp/buildd/beignet-1.1.2/backend/src/llvm/llvm_gen_backend.cpp, 
function void gbe::GenWriter::regAllocateCallInst(llvm::CallInst&), line 
3447
Trace/breakpoint trap


(1.1.2 on sid)
running test  2
error: clbuildprogram failed: BUILD_PROGRAM_FAILURE -

Build on <pyopencl.Device 'Intel(R) HD Graphics IvyBridge M GT2' on 
'Intel Gen OCL Driver' at 0x-a376760>:

stringInput.cl:18:18: warning: implicit declaration of function 'cossss' 
is invalid in C99
stringInput.cl:18:18: error: function with no prototype cannot use the 
spir_function calling convention

(options: -I /usr/lib/python3/dist-packages/pyopencl/cl)
(source saved as /tmp/tmpm_63goc5.cl)
end

(1.0.3 on jessie)
running test  2
Build on <pyopencl.Device 'Intel(R) HD Graphics IvyBridge M GT2' on 
'Intel Gen OCL Driver' at 0x7f7317023200> succeeded, but said:

/tmp/raDzzq.cl:18:18: warning: implicit declaration of function 'cossss' 
is invalid in C99

   warn(text, CompilerWarning)
error: 'badfunc' was not found as a program info attribute or as a 
kernel name
end




More information about the Pkg-opencl-devel mailing list