Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add built-in function changes to "what's changed" #466

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading