Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

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