Skip to content

Commit 2e4e1b9

Browse files
committed
fix few typos
Signed-off-by: Sidorov, Dmitry <[email protected]>
1 parent 9f48245 commit 2e4e1b9

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

sycl/doc/design/spirv-extensions/SPV_INTEL_fp_conversions.asciidoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
Notice
3838
------
3939
40-
Copyright (c) 2024 Intel Corporation. All rights reserved.
40+
Copyright (c) 2025 Intel Corporation. All rights reserved.
4141
4242
Status
4343
------
@@ -90,7 +90,7 @@ Modify Section 3.31, Capability, adding rows to the Capability table:
9090
|====
9191
2+^| Capability ^| Implicitly Declares
9292
| {convert_capability_token} | *{convert_capability_name}* +
93-
Uses *OpClampConvertFToFINTEL*, *OpStochasticRoundFToFINTEL*, *OpClampStochasticRoundFToFINTEL* and *OpStochasticRoundFToSINTEL*
93+
Uses *OpClampConvertFToFINTEL*, *OpStochasticRoundFToFINTEL*, *OpClampStochasticRoundFToFINTEL* and *OpClampStochasticRoundFToSINTEL*
9494
instructions. +
9595
|
9696
|====
@@ -132,7 +132,7 @@ _Value_
132132
4+|[[OpClampConvertFToSINTEL]]*OpClampConvertFToSINTEL* +
133133
+
134134
Converts numerically a floating point value to integer.
135-
In case of overflow, the positive result is saturated to INT_MAX or INT_MIN depending on a sign bit. +
135+
In case of overflow, the result is saturated to INT_MAX or INT_MIN depending on a sign bit. +
136136
+
137137
_Result Type_ is the type of the converted object, it must be a scalar or
138138
vector of _integer type_. +
@@ -160,7 +160,7 @@ Converts numerically one floating point value to another using stochastic roundi
160160
+
161161
Stochastic rounding is performed by adding a pseudo-random bias value to the mantissa
162162
of the converted value as follows. The bias is first added to the mantissa of the converted value.
163-
If this causes the mantissa to overflow, the the exponent of the converted value
163+
If this causes the mantissa to overflow, then the exponent of the converted value
164164
is increased by 1 and the mantissa bits are shifted right. The value is then converted
165165
to the _Result Type_, rounding towards zero. If the exponent overflows when converting
166166
to the _Result Type_, the result of the conversion is +/- Inf. If _Result Type_ doesn't have
@@ -245,11 +245,11 @@ _Next Seed_
245245
246246
[cols="1a,1,5*3",width="100%"]
247247
|=====
248-
6+|[[OpClampStochasticRoundFToSINTEL]]*OpStochasticRoundFToSINTEL* +
248+
6+|[[OpClampStochasticRoundFToSINTEL]]*OpClampStochasticRoundFToSINTEL* +
249249
+
250250
Converts a floating point value to integer using stochastic rounding.
251251
Has the same semantics as *OpStochasticRoundFToFINTEL*.
252-
In case of overflow, the positive result is saturated to INT_MAX or INT_MIN depending on a sign bit.
252+
In case of overflow, the result is saturated to INT_MAX or INT_MIN depending on a sign bit.
253253
This instruction may be used for stochastic rounding operation, if a producer
254254
passes pseudo-random _Seed_ value. +
255255
+
@@ -267,7 +267,7 @@ _Next Seed_ must be of a _pointer type_ with *Function* storage class and 32-bit
267267
+
268268
1+|Capability: +
269269
*{convert_capability_name}*
270-
1+| 4+ | {OpStochasticRoundFToSINTEL_token}
270+
1+| 4+ | {OpClampStochasticRoundFToSINTEL_token}
271271
| _<id>_ +
272272
_Result Type_
273273
| _Result <id>_
@@ -285,10 +285,10 @@ Validation Rules
285285
286286
Add the following bullets to section 2.16.11, Universal Validation Rules:
287287
288-
* Variables with a type that is or includes a floating-point type with the *BFloat16KHR*, *Float8E4M3EXT* and *Float8E5M2EXT* encodings can also be used with the following instructions:
288+
* Variables with a type that is or includes a floating-point type with the *BFloat16KHR*, *Float8E4M3EXT*, *Float8E5M2EXT* and *Float4E2M1INTEL* encodings can also be used with the following instructions:
289289
** *OpClampConvertFToFINTEL*
290290
291-
* Variables with a type that is or includes a floating-point type with the *BFloat16KHR*, *Float8E5M2EXT* and *Float4E2M1INTEL* encodings can also be used with the following instructions:
291+
* Variables with a type that is or includes a floating-point type with the *BFloat16KHR*, *Float8E4M3EXT*, *Float8E5M2EXT* and *Float4E2M1INTEL* encodings can also be used with the following instructions:
292292
** *OpStochasticRoundFToFINTEL*
293293
** *OpClampStochasticRoundFToFINTEL*
294294

sycl/doc/design/spirv-extensions/mini_float_conversions_env.asciidoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ Only the following conversions via *OpClampConvertFToFINTEL* are supported: +
8282
| 4-bit *Float4E2M1INTEL* | 16-bit *BFloat16KHR*
8383
|===
8484

85-
Float to integer conversions via OpClampConvertFToS
86-
---------------------------------------------------
85+
Float to integer conversions via OpClampConvertFToSINTEL
86+
--------------------------------------------------------
8787

88-
Only the following conversions via *OpClampConvertFToS* from float to 4-bit integer values are supported: +
88+
Only the following conversions via *OpClampConvertFToSINTEL* from float to 4-bit integer values are supported: +
8989
+
9090

9191
[cols="1,1", options="header"]
@@ -134,7 +134,7 @@ Only the following conversions via *OpClampStochasticRoundFToFINTEL* are support
134134
Float to integer conversions via OpClampStochasticRoundFToSINTEL
135135
----------------------------------------------------------------
136136

137-
Only the following conversions via *OpStochasticRoundFToSINTEL* from float to 4-bit integer values are supported: +
137+
Only the following conversions via *OpClampStochasticRoundFToSINTEL* from float to 4-bit integer values are supported: +
138138
+
139139

140140
[cols="1,1", options="header"]

0 commit comments

Comments
 (0)