diff --git a/adoc/chapters/programming_interface.adoc b/adoc/chapters/programming_interface.adoc index 66a68135..b2caa55d 100644 --- a/adoc/chapters/programming_interface.adoc +++ b/adoc/chapters/programming_interface.adoc @@ -24120,6 +24120,7 @@ corresponding [code]#vec#. |==== +[[sec:integer-functions]] === Integer functions <> describes the integer math functions that are @@ -25433,6 +25434,7 @@ corresponding [code]#vec#. |==== +[[sec:geometric-functions]] === Geometric functions In SYCL the OpenCL [keyword]#geometric functions# are available in the diff --git a/adoc/chapters/what_changed.adoc b/adoc/chapters/what_changed.adoc index a0d8f722..090d23f9 100644 --- a/adoc/chapters/what_changed.adoc +++ b/adoc/chapters/what_changed.adoc @@ -147,10 +147,22 @@ the implementation needed to propagate the information up to the enclosing kernel.) The old {cpp} attribute form is no longer included in the SYCL specification. -The list of built-in integer math functions was extended with -[code]#ctz()# in <>. -Specification of [code]#clz()# was extended with the case -of argument is 0. +Changes to the built-in functions specified in <>: + + * The specification no longer uses pseudo "generic type names" to describe + these functions, and it now lists the exact synopsis for each function. + + * The return type of the integer [code]#abs# and [code]#abs_diff# functions + has changed. The return type is now the same as the input type, matching + the {cpp} [code]#std::abs# function. + + * The geometric functions specified in <> now + support the [code]#half# data type. + + * The [code]#ctz# function was added to <>. + + * The specification of [code]#clz# was clarified for the case when the input + is zero. The classes [code]#vector_class#, [code]#string_class#, [code]#function_class#, [code]#mutex_class#,