[Beignet] [PATCH] intel: Check that we can reserve the zero-offset

2017-03-08 Thread Yang Rong
commit ff57cee0519d ("ocl20/runtime: take the first 64KB page table entries") tries to allocate a bo at 0 offset, but failed to take into account that something may already be allocated there that it is not allowed to evict (particularly when not using full-ppgtt separation). Failure to do so

[Beignet] [PATCH] Backend: add double support to convert_uchar|short_rtn(double x)

2017-03-08 Thread rander
Signed-off-by: rander --- backend/src/libocl/script/ocl_convert.sh | 20 1 file changed, 20 insertions(+) diff --git a/backend/src/libocl/script/ocl_convert.sh b/backend/src/libocl/script/ocl_convert.sh index b826b38..fe5c1ec 100755 ---

[Beignet] [PATCH] Backend: add double support to convert_u|long_rtn(double)

2017-03-08 Thread rander
Signed-off-by: rander --- backend/src/libocl/include/ocl_float.h | 6 +++- backend/src/libocl/script/ocl_convert.sh | 54 +++- 2 files changed, 58 insertions(+), 2 deletions(-) diff --git a/backend/src/libocl/include/ocl_float.h

[Beignet] [PATCH] Backend: add double support to convert_u|int_rtn(double x)

2017-03-08 Thread rander
Signed-off-by: rander --- backend/src/libocl/script/ocl_convert.sh | 35 1 file changed, 35 insertions(+) diff --git a/backend/src/libocl/script/ocl_convert.sh b/backend/src/libocl/script/ocl_convert.sh index 460aefe..b826b38 100755 ---

Re: [Beignet] [PATCH] Backend: add double support to convert_uchar|char|short|ushort|int|uint|long|ulong_sat(double x) HW support Double to int16, int32 from IVB, others done by software. Double to in

2017-03-08 Thread Simon Richter
Hi, On 08.03.2017 06:27, rander wrote: > backend/src/libocl/script/ocl_convert.sh | 10 +- I think you also need conversion from double to other types. Also (somewhat unrelated): are there no-op conversions for same source and destination type? Simon signature.asc