Skip to content

Commit

Permalink
Merge pull request #466 from gmlueck/gmlueck/builtin-what-changed
Browse files Browse the repository at this point in the history
Add built-in function changes to "what's changed"
  • Loading branch information
tomdeakin authored Oct 12, 2023
2 parents e63b8b7 + bec1a1e commit 7e9a47e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
2 changes: 2 additions & 0 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24120,6 +24120,7 @@ corresponding [code]#vec#.
|====


[[sec:integer-functions]]
=== Integer functions

<<table.integer.functions>> describes the integer math functions that are
Expand Down Expand Up @@ -25433,6 +25434,7 @@ corresponding [code]#vec#.
|====


[[sec:geometric-functions]]
=== Geometric functions

In SYCL the OpenCL [keyword]#geometric functions# are available in the
Expand Down
20 changes: 16 additions & 4 deletions adoc/chapters/what_changed.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<table.integer.functions>>.
Specification of [code]#clz()# was extended with the case
of argument is 0.
Changes to the built-in functions specified in <<sycl:builtins>>:

* 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 <<sec:geometric-functions>> now
support the [code]#half# data type.

* The [code]#ctz# function was added to <<sec:integer-functions>>.

* 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#,
Expand Down

0 comments on commit 7e9a47e

Please sign in to comment.