[Beignet] [BUG] piglit test case fail (get-global-size)

Sun, Yi yi.sun at intel.com
Sun Jun 23 20:27:31 PDT 2013


But it's a bit strange that I didn't found any bool variables in the
test case after a quick looking through. The kernel is attached.

Thanks
  --Sun, Yi

On Mon, 2013-06-24 at 11:20 +0800, Boqun Feng wrote:
> This one is caused by bool variable's limited support of our compiler
> 
> On Mon, Jun 24, 2013 at 03:15:13AM +0000, Sun, Yi wrote:
> > I'm not sure it is caused by the built-in function get-global-size
> > specified. 
> > Anyone has any idea?
> > 
> > reproduce step:
> > [piglit]# bin/cl-program-tester
> > tests/cl/program/execute/get-global-size.cl
> > 
> > 
> > Output:
> > ## Test: get_global_id
> > (/GFX/Test/Piglit/piglit/tests/cl/program/program-tester.c) ##
> > 
> > # Platform supporting only version 1.0. Running test on that version.
> > # Running on:
> > #   Platform: Experiment Intel Gen OCL Driver
> > #   Device: Intel HD Graphics Family
> > #   OpenCL version: 1.1
> > #   OpenCL C version: 1.0
> > #   Build options: 
> > ASSERTION FAILED: TODO Boolean values cannot escape their definition
> > basic block
> >   at
> > file /home/works/opencl/beignet/backend/src/llvm/llvm_gen_backend.cpp,
> > function void gbe::GenWriter::emitMovForPHI(llvm::BasicBlock*,
> > llvm::BasicBlock*), line 844
> > Stack dump:
> > 0.      Running pass 'Function Pass Manager' on module
> > '/tmp/file292g7Y.ll'.
> > 1.      Running pass 'Gen Back-End' on function '@fill3d'
> > 
> > 
> > Thanks
> >   --Sun, Yi
> > _______________________________________________
> > Beignet mailing list
> > Beignet at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/beignet

-------------- next part --------------
A non-text attachment was scrubbed...
Name: get-global-size.cl
Type: text/x-csrc
Size: 3136 bytes
Desc: get-global-size.cl
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20130624/fc610a40/attachment-0001.c>


More information about the Beignet mailing list