[Beignet] [PATCH 2/4] Remove CL_FP_DENORM in clGetDeviceInfo.

Song, Ruiling ruiling.song at intel.com
Mon Oct 28 06:50:46 CET 2013


LGTM

-----Original Message-----
From: beignet-bounces+ruiling.song=intel.com at lists.freedesktop.org [mailto:beignet-bounces+ruiling.song=intel.com at lists.freedesktop.org] On Behalf Of Yang Rong
Sent: Monday, October 28, 2013 2:02 PM
To: beignet at lists.freedesktop.org
Cc: Yang, Rong R
Subject: [Beignet] [PATCH 2/4] Remove CL_FP_DENORM in clGetDeviceInfo.

IVB don't support single float denorm, so compiler option -cl-denorms-are-zero should ingore.

Signed-off-by: Yang Rong <rong.r.yang at intel.com>
---
 src/cl_gt_device.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cl_gt_device.h b/src/cl_gt_device.h index 87c4a24..518234a 100644
--- a/src/cl_gt_device.h
+++ b/src/cl_gt_device.h
@@ -63,7 +63,7 @@
 .queue_properties = CL_QUEUE_PROFILING_ENABLE,  .platform = NULL, /* == intel_platform (set when requested) */
 /* IEEE 754, XXX does IVB support CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT? */ -.single_fp_config = CL_FP_DENORM | CL_FP_INF_NAN | CL_FP_ROUND_TO_NEAREST , /* IEEE 754. */
+.single_fp_config = CL_FP_INF_NAN | CL_FP_ROUND_TO_NEAREST , /* IEEE 
+754. */
 
 #define DECL_INFO_STRING(FIELD, STRING) \
     .FIELD = STRING,                    \
--
1.8.1.2

_______________________________________________
Beignet mailing list
Beignet at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list