[Beignet] [PATCH 2/4] Remove CL_FP_DENORM in clGetDeviceInfo.
Yang Rong
rong.r.yang at intel.com
Mon Oct 28 07:02:16 CET 2013
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
More information about the Beignet
mailing list