Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

fast_length - Vector length.

Authors

TheKhronosGroup

Description

       Returns the length of vector p computed as:

       sqrt(3clc)(p.x2 + p.y2 + ...)

Name

       fast_length - Vector length.

       floatfast_length(floatnp);

Notes

        1. OpenCL Specification
           page 262, section 6.12.5 - Geometric Functions

The Khronos Group                                  11/18/2024                                  FAST_LENGTH(3clc)

See Also

geometricFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also