Re: [Beignet] [PATCH] utests: add utest to double version of log, log2, log10

2017-03-28 Thread Song, Ruiling
> -Original Message- > From: Wang, Rander > Sent: Wednesday, March 29, 2017 1:12 PM > To: Song, Ruiling <ruiling.s...@intel.com>; beig...@freedesktop.org > Subject: RE: [Beignet] [PATCH] utests: add utest to double version of log, > log2, > log10 > > A

Re: [Beignet] [PATCH] utests: add utest to double version of log, log2, log10

2017-03-28 Thread Wang, Rander
ATCH] utests: add utest to double version of log, log2, log10 > +static void builtin_double_logx(void) { > + // Setup kernel and buffers > + int k, i, index_cur; > + unsigned long gpu_data[max_function * count_input] = {0}; > + float diff; > + char log[256] = {

Re: [Beignet] [PATCH] utests: add utest to double version of log, log2, log10

2017-03-28 Thread Song, Ruiling
> +static void builtin_double_logx(void) > +{ > + // Setup kernel and buffers > + int k, i, index_cur; > + unsigned long gpu_data[max_function * count_input] = {0}; > + float diff; > + char log[256] = {0}; > + > + OCL_CREATE_KERNEL("builtin_double_logx"); > + I just thought of a problem.

[Beignet] [PATCH] utests: add utest to double version of log, log2, log10

2017-03-23 Thread rander
Signed-off-by: rander --- kernels/builtin_double_logx.cl | 20 ++ utests/CMakeLists.txt | 3 +- utests/builtin_double_logx.cpp | 86 ++ 3 files changed, 108 insertions(+), 1 deletion(-) create mode 100644