On 29.04.2015 13:58, ext O. Hartmann wrote:
> Am Tue, 21 Apr 2015 14:54:14 +0300
>
> #                             -*- 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?
>

Right, this is a miscompilation. Actually, looking at the test, it is 
marked (in tests/testsuite.at, line 217) with:

AT_XFAIL_IF([grep OCL_KERNEL_TARGET $abs_top_builddir/config.h | cut 
-d\" -f2 | grep -q x86_64 &&
              grep -q "#define LLVM_3_6" $abs_top_builddir/config.h])

i.e. it is known to fail on x86_64, with LLVM3.6.

Could this be again the case that *BSDs name the processor amd64, not 
x86_64? Didn't we fix that in pocl 0.10 already, somewhere else :)

In any case, this is a known bug and "safe" to ignore. Fixes welcome.

kalle

------------------------------------------------------------------------------
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