[Beignet] [PATCH 0/4] Small fixes
Simon Richter
Simon.Richter at hogyros.de
Mon May 13 11:21:14 PDT 2013
This contains a set of small fixes that should be more or less obvious.
The only thing that came up during the testsuite was that the clamp()
function defined in the kernels implicitly truncated its arguments to
integers. I have added a floor() call in compiler_nautilus.cl to get back
to the previous behaviour; not sure this was intended.
Simon Richter (4):
Define clamp(value, lower, upper)
Add clGetDeviceInfo(..., CL_BUILT_IN_KERNELS, ...)
Correct type of device properties
Update gitignore files
.gitignore | 5 ++++-
backend/src/.gitignore | 3 +++
backend/src/ocl_stdlib.h | 21 ++++++++++++---------
kernels/compiler_julia.cl | 2 --
kernels/compiler_julia_no_break.cl | 2 --
kernels/compiler_menger_sponge.cl | 2 --
kernels/compiler_menger_sponge_no_shadow.cl | 2 --
kernels/compiler_nautilus.cl | 4 +---
src/.gitignore | 2 ++
src/cl_device_id.c | 1 +
src/cl_device_id.h | 6 ++++--
src/cl_gt_device.h | 1 +
utests/.gitignore | 13 +++++++++++++
13 files changed, 41 insertions(+), 23 deletions(-)
create mode 100644 src/.gitignore
create mode 100644 utests/.gitignore
--
1.7.10.4
More information about the Beignet
mailing list