Hi, 高光磊

First, which versions of pocl, LLVM, and ARM computer are you using?
With the latest pocl from the version control (i.e. upcoming 0.7), and 
with LLVM 3.2, there are currently no errors (except that double 
precision floating point values are not supported). I warmly recommend 
you use these two on ARM :)

On 03/12/12 11:02, ext 高光磊 wrote:
> Hi all:
>
>
>
> I met a problem that when I ran the example1 of pocl on ARM board,
> the terminal would putout below:
>
>
>
> 0  opt       0x0053103c
>
> 1  opt       0x00531500
>
> 2  libc.so.6 0x40375d40 __default_sa_restorer_v2 + 0
>
> Stack dump:
>
> 0.      Program arguments: /usr/local/bin/opt
> -load=/usr/local/lib/pocl/llvmopencl.so -break-constgeps
> -generate-header -ker
>
> Segmentation fault

This sounds rather serious. And is the cause for all further errors, 
including the header not being found. Question is, why does it segfault?

>
> My question is, how is kernel_header.h generated? Where is the code?
> Is in pocl_kernel?

It is generated by opt, which is called in the pocl-kerenel script (see 
scripts/pocl-kernel).


kalle

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to