CUDASIMDTypes.jl

CUDASIMDTypes.bitifelseMethod
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.dp4aMethod
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