Skip to content

Commit c191452

Browse files
Fix typo of the half definition of fmin. (#1519)
1 parent 78deaad commit c191452

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OpenCL_C.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5282,7 +5282,7 @@ ifdef::cl_khr_fp16[gentypeh *fmax*(gentypeh _x_, half _y_)]
52825282
gentypef *fmin*(gentypef _x_, float _y_) +
52835283
gentyped *fmin*(gentyped _x_, double _y_)
52845284

5285-
ifdef::cl_khr_fp16[gentypeh *fmax*(gentypeh _x_, half _y_)]
5285+
ifdef::cl_khr_fp16[gentypeh *fmin*(gentypeh _x_, half _y_)]
52865286
| Returns _y_ if _y_ < _x_, otherwise it returns _x_.
52875287
If one argument is a NaN, *fmin*() returns the other argument.
52885288
If both arguments are NaNs, *fmin*() returns a NaN.

0 commit comments

Comments
 (0)