Skip to content

Commit fd21916

Browse files
authored
relax the fp16 sqrt accuracy requirement to 1.5 ULP (#1386)
1 parent 5efafb0 commit fd21916

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

OpenCL_C.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16288,7 +16288,7 @@ is the infinitely precise result.
1628816288
| *sinpi* | {leq} 4 ulp
1628916289
| *smoothstep* | Implementation-defined
1629016290
| *step* | 0 ulp
16291-
| *fsqrt* | Correctly rounded
16291+
| *sqrt* | Correctly rounded
1629216292
| *tan* | {leq} 5 ulp
1629316293
| *tanh* | {leq} 5 ulp
1629416294
| *tanpi* | {leq} 6 ulp
@@ -16438,7 +16438,7 @@ is the infinitely precise result.
1643816438
| *sinh* | \<= 2 ulp | \<= 3 ulp
1643916439
| *sinpi* | \<= 2 ulp | \<= 2 ulp
1644016440
| *smoothstep* | Implementation-defined | Implementation-defined
16441-
| *sqrt* | Correctly rounded | \<= 1 ulp
16441+
| *sqrt* | \<= 1.5 ulp | \<= 1.5 ulp
1644216442
| *step* | 0 ulp | 0 ulp
1644316443
| *tan* | \<= 2 ulp | \<= 3 ulp
1644416444
| *tanh* | \<= 2 ulp | \<= 3 ulp

env/numerical_compliance.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ given as ULP values for the full profile.
196196
| *OpFDiv*
197197
| Correctly rounded
198198
| \<= 2.5 ulp
199-
| \<= 1.0 ulp
199+
| \<= 1 ulp
200200

201201
| *OpExtInst* *acos*
202202
| \<= 4 ulp
@@ -586,7 +586,7 @@ given as ULP values for the full profile.
586586
| *OpExtInst* *sqrt*
587587
| Correctly rounded
588588
| \<= 3 ulp
589-
| Correctly rounded
589+
| \<= 1.5 ulp
590590

591591
| *OpExtInst* *step*
592592
| 0 ulp
@@ -1188,7 +1188,7 @@ given as ULP values for the embedded profile.
11881188
| *OpExtInst* *sqrt*
11891189
| \<= 4 ulp
11901190
| \<= 4 ulp
1191-
| \<= 1 ulp
1191+
| \<= 1.5 ulp
11921192

11931193
| *OpExtInst* *step*
11941194
| 0 ulp

0 commit comments

Comments
 (0)