Skip to content

Commit a166c4f

Browse files
authored
Document requirements for CL_DEVICE_DOUBLE_FP_CONFIG prior to 2.0 (#683)
* Document requirements for CL_DEVICE_DOUBLE_FP_CONFIG prior to 2.0 Fixes #673 Signed-off-by: Kevin Petit <kevin.petit@arm.com> Change-Id: If163ff3d57f953922baef3c65ca7a2feaff9a23f * apply wording suggestions Change-Id: I362651a239538e5317d24c2f04f016f41251311d
1 parent 59804fc commit a166c4f

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

api/opencl_platform_layer.asciidoc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,12 +731,22 @@ Also see extension *cl_khr_fp64*.
731731
double precision floating-point capability is 0.
732732

733733
If double precision is supported by the device, then the minimum
734-
double precision floating-point capability is:
734+
double precision floating-point capability for OpenCL 2.0 or
735+
newer devices is:
735736

736737
{CL_FP_FMA} \| +
737738
{CL_FP_ROUND_TO_NEAREST} \| +
738739
{CL_FP_INF_NAN} \| +
739740
{CL_FP_DENORM}.
741+
742+
or for OpenCL 1.0, OpenCL 1.1 or OpenCL 1.2 devices:
743+
744+
{CL_FP_FMA} \| +
745+
{CL_FP_ROUND_TO_NEAREST} \| +
746+
{CL_FP_ROUND_TO_ZERO} \| +
747+
{CL_FP_ROUND_TO_INF} \| +
748+
{CL_FP_INF_NAN} \| +
749+
{CL_FP_DENORM}.
740750
| {CL_DEVICE_GLOBAL_MEM_CACHE_TYPE_anchor}
741751

742752
include::{generated}/api/version-notes/CL_DEVICE_GLOBAL_MEM_CACHE_TYPE.asciidoc[]

0 commit comments

Comments
 (0)