logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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