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

Geometric_Built-In_Functions - Click an item in the table below for details about that function.

Authors

TheKhronosGroup

Name

       Geometric_Built-In_Functions - Click an item in the table below for details about that function.

       ┌──────────────────────┬────────────────────────┐
       │ cross(3clc)          │ Cross product          │
       ├──────────────────────┼────────────────────────┤
       │ dot(3clc)            │ Dot product            │
       ├──────────────────────┼────────────────────────┤
       │ distance(3clc)       │ Vector distance        │
       ├──────────────────────┼────────────────────────┤
       │ length(3clc)         │ Vector length          │
       ├──────────────────────┼────────────────────────┤
       │ normalize(3clc)      │ Normal vector length 1 │
       ├──────────────────────┼────────────────────────┤
       │ fast_distance(3clc)  │ Vector distance        │
       ├──────────────────────┼────────────────────────┤
       │ fast_length(3clc)    │ Vector length          │
       ├──────────────────────┼────────────────────────┤
       │ fast_normalize(3clc) │ Normal vector length 1 │
       └──────────────────────┴────────────────────────┘

Notes

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

The Khronos Group                                  11/18/2024                           GEOMETRICBUILT-IN(3clc)

Specification

OpenCLSpecification[1]

See Also