Skip to content

Commit 6ce06c0

Browse files
authored
Fix fast_distance parameter type (#1374)
This builtin was incorrectly described as fast_distance(float, floatn).
1 parent bc6abc4 commit 6ce06c0

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
@@ -6624,7 +6624,7 @@ ifdef::cl_khr_fp16[half *length*(gentypeh _p_)]
66246624
ifdef::cl_khr_fp16[gentypeh *normalize*(gentypeh _p_)]
66256625
| Returns a vector in the same direction as _p_ but with a length of 1.
66266626
| |
6627-
| float *fast_distance*(float _p0_, float__n__ _p1_)
6627+
| float *fast_distance*(float__n__ _p0_, float__n__ _p1_)
66286628
| Returns *fast_length*(_p0_ - _p1_).
66296629
| float *fast_length*(float__n__ _p_)
66306630
| Returns the length of vector _p_ computed as:

0 commit comments

Comments
 (0)