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

sub_sat - Returns x - y and saturates the result.

Authors

TheKhronosGroup

Description

sub_sat returns x - y and saturates the result.

Name

       sub_sat - Returns x - y and saturates the result.

       gentypesub_sat(gentypex,gentypey);

Notes

        1. OpenCL Specification
           page 256, section 6.12.3 - Integer Functions

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

See Also

integerFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also