Am Tue, 21 Apr 2015 14:54:14 +0300
Kalle Raiskila <[email protected]> schrieb:

> Hi,
> 
> On 18.04.2015 11:41, O. Hartmann wrote:
> 
> > I just refurbished my FreeBSD port for support of POCL-0.11.
> >
> > Using pocl-0.11 with CLANG/LLVM 3.6, I run into failures while running the 
> > testsuites.
> > First I'd expect the standard tests to work, but I receive:
> >
> >
> > [...]
> >    4: example1: dot product (SPIR32)                  skipped 
> > (testsuite.at:56)
> > [...]
> >   20: Kernel functions abs abs_diff add_sat hadd mad_hi mad_sat mul_hi 
> > rhadd sub_sat
> > (loopvec) FAILED (testsuite.at:222)
> > [...]
> >   29: Kernel functions: shuffle halfN                 skipped 
> > (testsuite.at:304)
> > [...]
> >   72: struct kernel arguments - lp:987905             skipped
> > (testsuite-regression.at:107) 73: vector kernel arguments - lp:987905
> > skipped (testsuite-regression.at:114)
> 
> 
> Skipped tests are not to be worried about. E.g. the SPIR32 test is 
> skipped, if your machine is not a 32bit one. The others are known 
> failures that cause erratic behaviour. Most likely infinite loops.
> 
> The one FAILED is a bad thing, though.
> 
> 
> > [...]
> > OpenCL Programming Guide Samples
> >
> > 105: Building the sources against pocl               FAILED 
> > (testsuite-samples.at:23)
> > 106: Run Chapter 2: Hello World                      FAILED 
> > (testsuite-samples.at:32)
> > 107: Run Chapter 3: OpenCLConvolution                FAILED 
> > (testsuite-samples.at:42)
> > 108: Run Chapter 6: HelloBinaryWorld                 FAILED 
> > (testsuite-samples.at:55)
> > 109: Run Chapter 7: SimpleBufferSubBuffer            FAILED 
> > (testsuite-samples.at:70)
> > 110: Run Chapter 8: ImageFilter2D                    FAILED 
> > (testsuite-samples.at:82)
> > 111: Run Chapter 12: VectorAdd (C++ bindings)        FAILED 
> > (testsuite-samples.at:106)
> > [...]
> 
> Since it seems all the test from the book samples fail, I guess the 
> setup of this testsuite failed. This is also one testsuite not regularly 
> built by the CI servers. And I don't know if the book tests were ever 
> tested on BSD to begin with, even without pocl as the implementation.
> 
> 
> There should be in your pocl build directory output logs of the failing 
> tests (i.e. a diff against the expected stdout and stderr).
> see: "tests/testsuite.dir/XYZ/testsuite.log", where XYZ is the test 
> number. Anything useful there?
> 
> 
> kalle

Hello Kalle,
I rephrased the subject.


I found the testsuite.log in

pocl-0.11/tests/testsuite.dir/020

and it contains this:

#                             -*- compilation -*-
20. testsuite.at:211: testing Kernel functions abs abs_diff add_sat hadd mad_hi 
mad_sat
mul_hi rhadd sub_sat (loopvec) ... ./testsuite.at:222: 
POCL_WORK_GROUP_METHOD=loopvec
$abs_top_builddir/tests/kernel/kernel test_hadd 2>&1 --- expout      2015-04-29
12:38:15.961855000 +0200
+++ /usr/ports/devel/pocl/work/pocl-0.11/tests/testsuite.dir/at-groups/20/stdout
2015-04-29 12:39:42.016995000 +0200 @@ -1,2 +1,14 @@ Running test test_hadd...
+FAIL: sub_sat type=short3
+   [0] a=0 b=18633 good=-18633 res=32007
+   [1] a=1 b=32457 good=-32456 res=-21274
+   [2] a=-1 b=8365 good=-8366 res=-17945
+FAIL: sub_sat type=ushort3
+   [0] a=0 b=18633 good=0 res=9316
+   [1] a=1 b=32457 good=0 res=16229
+   [2] a=65535 b=8365 good=57170 res=36950
+FAIL: sub_sat type=uint3
+   [0] a=0 b=364071113 good=0 res=182035556
+   [1] a=1 b=-2082570551 good=0 res=1106198373
+   [2] a=2147483647 b=-1268506451 good=0 res=-1707995050
 OK
20. testsuite.at:211: 20. Kernel functions abs abs_diff add_sat hadd mad_hi 
mad_sat
mul_hi rhadd sub_sat (loopvec) (testsuite.at:211): FAILED (testsuite.at:222)

Is this of any use?

Thanks in advance,
Oliver

Attachment: pgpgbBgAbJ7L_.pgp
Description: OpenPGP digital signature

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to