Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

any,_all - Test for sign bit.

Authors

TheKhronosGroup

Description

any returns 1 if the most significant bit in any component of x is set; otherwise returns 0.

       all returns 1 if the most significant bit in all components of x is set; otherwise returns 0.

Name

       any,_all - Test for sign bit.

       intany(igentypex);intall(igentypex);

Notes

        1. OpenCL Specification
           page 264, section 6.12.6 - Relational Functions

The Khronos Group                                  11/18/2024                                     ANY,ALL(3clc)

See Also

relationalFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also