3.342. __nv_urhadd
-
i32 @__nv_urhadd(i32 %x, i32 %y)
Compute rounded average of unsigned input arguments, avoiding overflow in the intermediate sum.
Compute average of unsigned input arguments
xandyas (x+y+ 1 ) >> 1, avoiding overflow in the intermediate sum.- Returns
Returns an unsigned integer value representing the unsigned rounded average value of the two inputs.