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

Fix formatting issues in builtins tables #1290

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
8 changes: 4 additions & 4 deletions OpenCL_C.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5368,6 +5368,7 @@ endif::cl_khr_fp16[]
double__n__ *ldexp*(double__n__ _x_, int__n__ _k_) +
double__n__ *ldexp*(double__n__ _x_, int _k_) +
double *ldexp*(double _x_, int _k_)

ifdef::cl_khr_fp16[]
half__n__ *ldexp*(half__n__ _x_, int__n__ _k_) +
half__n__ *ldexp*(half__n__ _x_, int _k_) +
Expand Down Expand Up @@ -6484,11 +6485,10 @@ ifdef::cl_khr_fp16[gentypeh *min*(gentypeh _x_, half _y_)]
ifdef::cl_khr_fp16[gentypeh *mix*(gentypeh _x_, gentypeh _y_, half _a_)]
a| Returns the linear blend of _x_ and _y_ implemented as:

_x_ + (_y_ - _x_) * _a_
_x_ + (_y_ - _x_) * _a_

_a_ must be a value in the range [0.0, 1.0].
If _a_ is not in the range [0.0, 1.0], the return values are
undefined.
_a_ must be a value in the range [0.0, 1.0]. If _a_ is not in the range [0.0,
1.0], the return values are undefined.

ifdef::cl_khr_fp16[]
NOTE: The half-precision *mix* function can be implemented using
Expand Down