[Beignet] [PATCH] utest_pow: don't fail on declared lack of denormals

2015-04-17 Thread Rebecca N. Palmer
(Resend: the first copy appears to have gone missing) 0.01**20.5 is denormal; at least Ivy Bridge does not support denormals and hence returns 0. As this is allowed by the OpenCL standard, it shouldn't fail the test. Signed-off-by: Rebecca Palmer diff --git a/utests/builtin_pow.cpp b/utests/b

[Beignet] [PATCH] Make tgamma meet the accuracy standard

2015-04-17 Thread Rebecca N. Palmer
The old tgamma=exp(lgamma) implementation had high rounding error on large outputs, exceeding the 16ulp specification for approx. x>8 (hence the test failure in strict conformance mode). Replace this with an implementation based on glibc's http://sources.debian.net/src/glibc/2.19-17/sysdeps/ieee7

Re: [Beignet] [PATCH V2 1/2] add simd level function __gen_ocl_get_simd_id

2015-04-17 Thread Yang, Rong R
> -Original Message- > From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of > Guo Yejun > Sent: Friday, April 17, 2015 14:47 > To: beignet@lists.freedesktop.org > Cc: Guo, Yejun > Subject: [Beignet] [PATCH V2 1/2] add simd level function > __gen_ocl_get_simd_id > > ui