File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -24120,6 +24120,7 @@ corresponding [code]#vec#.
2412024120|====
2412124121
2412224122
24123+ [[sec:integer-functions]]
2412324124=== Integer functions
2412424125
2412524126<<table.integer.functions>> describes the integer math functions that are
@@ -25433,6 +25434,7 @@ corresponding [code]#vec#.
2543325434|====
2543425435
2543525436
25437+ [[sec:geometric-functions]]
2543625438=== Geometric functions
2543725439
2543825440In SYCL the OpenCL [keyword]#geometric functions# are available in the
Original file line number Diff line number Diff line change @@ -147,10 +147,22 @@ the implementation needed to propagate the information up to the enclosing
147147kernel.) The old {cpp} attribute form is no longer included in the SYCL
148148specification.
149149
150- The list of built-in integer math functions was extended with
151- [code]#ctz()# in <<table.integer.functions>>.
152- Specification of [code]#clz()# was extended with the case
153- of argument is 0.
150+ Changes to the built-in functions specified in <<sycl:builtins>>:
151+
152+ * The specification no longer uses pseudo "generic type names" to describe
153+ these functions, and it now lists the exact synopsis for each function.
154+
155+ * The return type of the integer [code]#abs# and [code]#abs_diff# functions
156+ has changed. The return type is now the same as the input type, matching
157+ the {cpp} [code]#std::abs# function.
158+
159+ * The geometric functions specified in <<sec:geometric-functions>> now
160+ support the [code]#half# data type.
161+
162+ * The [code]#ctz# function was added to <<sec:integer-functions>>.
163+
164+ * The specification of [code]#clz# was clarified for the case when the input
165+ is zero.
154166
155167The classes [code]#vector_class#, [code]#string_class#,
156168[code]#function_class#, [code]#mutex_class#,
You can’t perform that action at this time.
0 commit comments