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

bitselect - Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Authors

TheKhronosGroup

Description

       Each bit of result is corresponding bit of a if corresponding bit of c is 0. Otherwise it is the
       corresponding bit of b.

Name

       bitselect - Each bit of result is corresponding bit of a if corresponding bit of c is 0.

       gentypebitselect(gentypea,gentypeb,gentypec);halfnbitselect (halfna, halfnb, halfnc)      // if
       half extension enabled

Notes

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

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

See Also

relationalFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also