CUDASIMDTypes.jl

CUDASIMDTypes.bitifelse — Method
bitifelse(cond, x, y)

Bitwise version of ifelse.

For each bit of the output, the respective bit in cond determines whether the respective bit of x or of y is selected.

source
CUDASIMDTypes.dp4a — Method
d = dp4a(a::UInt32, b::UInt32, c::Int32)
d::Int32
d = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] + c
source
CUDASIMDTypes.muladd_sat — Method
muladd_sat(a, b, c)

Saturating fused multiply-add a * b + c.

Each element of the result is clamped to [0, 1]; NaN results are flushed to +0.

source