Method AtomicAdd
AtomicAdd(Value, Value)
Creates an atomic add instruction
Declaration
public AtomicRMW AtomicAdd(Value ptr, Value val)
Parameters
public AtomicRMW AtomicAdd(Value ptr, Value val)
Value | ptr | Pointer to the value to update (e.g. destination and the left hand operand) |
Value | val | Right hand side operand |
Returns
AtomicRMW | AtomicRMW |