Sorry, I mixed up email addresses.

---------- Forwarded message ----------
From: Denis Demidov <[email protected]>
Date: Tue, May 14, 2013 at 8:37 PM
Subject: Re: [pocl-devel] Gentoo linux ebuild, VexCL library tests
To: Pekka Jääskeläinen <[email protected]>


On Tue, May 14, 2013 at 8:19 PM, Pekka Jääskeläinen <
[email protected]> wrote:

> On 05/14/2013 06:28 PM, Denis Demidov wrote:
>
>> The failing stencil convolution test is the only one that uses local
>> memory
>> (when compute device is CPU). Does pocl support this?
>>
>
> Yes, it supports local memory. Both automatic and as buffer args.
> That kernel doesn't look strange, quickly looking. How does it fail?
> Wrong results or a kernel compiler crash?
>
>
It gives wrong results.


>
>  Here is the code for the failing test:
>> https://github.com/ddemidov/**vexcl/blob/**a3d940b97bd366936ff5093908945b
>> **a6feada04c/tests/stencil.cpp#**L161<https://github.com/ddemidov/vexcl/blob/a3d940b97bd366936ff5093908945ba6feada04c/tests/stencil.cpp#L161>
>> .
>> The kernel that is generated for the test:
>> https://gist.github.com/**ddemidov/5576820<https://gist.github.com/ddemidov/5576820>
>>
>
> I got some problems trying to compile VexCL using my Debian 7.0's
> gcc 4.7. After removing the unsupported -Wunused-but-set-parameter, it
> fails with:
>

gcc 4.7 (and even 4.6) should be fully supported. Can you try the latest
commit? I've included <random> into devlist.hpp.


> In file included from /home/visit0r/repo/pocl-clean/**
> examples/VexCL/vexcl/vexcl/**vexcl.hpp:48,
>                  from /home/visit0r/repo/pocl-clean/**
> examples/VexCL/vexcl/tests/**context_setup.hpp:5,
>                  from /home/visit0r/repo/pocl-clean/**
> examples/VexCL/vexcl/tests/**fft.cpp:7:
> /home/visit0r/repo/pocl-clean/**examples/VexCL/vexcl/vexcl/**devlist.hpp:
> In member function ‘bool vex::Filter::ExclusiveFilter<**
> Filter>::locker::try_lock()’:
> /home/visit0r/repo/pocl-clean/**examples/VexCL/vexcl/vexcl/**devlist.hpp:295:
> error: ‘uniform_int_distribution’ is not a member of ‘std’
> /home/visit0r/repo/pocl-clean/**examples/VexCL/vexcl/vexcl/**devlist.hpp:295:
> error: expected primary-expression before ‘>’ token
> /home/visit0r/repo/pocl-clean/**examples/VexCL/vexcl/vexcl/**devlist.hpp:295:
> error: there are no arguments to ‘rnd’ that depend on a template parameter,
> so a declaration of ‘rnd’ must be available
> /home/visit0r/repo/pocl-clean/**examples/VexCL/vexcl/vexcl/**devlist.hpp:295:
> note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing
> the use of an undeclared name is deprecated)
> In file included from /home/visit0r/repo/pocl-clean/**
> examples/VexCL/vexcl/vexcl/**vector.hpp:51,
>                  from /home/visit0r/repo/pocl-clean/**
> examples/VexCL/vexcl/vexcl/**vexcl.hpp:49,
>                  from /home/visit0r/repo/pocl-clean/**
> examples/VexCL/vexcl/tests/**context_setup.hpp:5,
>                  from /home/visit0r/repo/pocl-clean/**
> examples/VexCL/vexcl/tests/**fft.cpp:7:
> /home/visit0r/repo/pocl-clean/**examples/VexCL/vexcl/vexcl/**operations.hpp:
> At global scope:
> /home/visit0r/repo/pocl-clean/**examples/VexCL/vexcl/vexcl/**operations.hpp:459:
> error: expected constructor, destructor, or type conversion before ‘(’ token
> In file included from /home/visit0r/repo/pocl-clean/**
> examples/VexCL/vexcl/vexcl/**vexcl.hpp:52,
>                  from /home/visit0r/repo/pocl-clean/**
> examples/VexCL/vexcl/tests/**context_setup.hpp:5,
>                  from /home/visit0r/repo/pocl-clean/**
> examples/VexCL/vexcl/tests/**fft.cpp:7:
> /home/visit0r/repo/pocl-clean/**examples/VexCL/vexcl/vexcl/**spmat.hpp:408:
> error: expected ‘}’ before end of line
> /home/visit0r/repo/pocl-clean/**examples/VexCL/vexcl/vexcl/**spmat.hpp:408:
> error: expected declaration before end of line
>
> The C++11 features you use are not supported by my compiler?
>
> --
> Pekka
>



-- 
Denis
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to