ILGPU  0.9.0
ILGPU.AtomicOperations.IAtomicOperation< T > Interface Template Reference

Represents the base interface for atomic binary operations. More...

Public Member Functions

Operation (T current, T value)
 Performs the actual atomic binary operation. More...
 

Detailed Description

Represents the base interface for atomic binary operations.

Template Parameters
TThe parameter type of the atomic operation.
Type Constraints
T :unmanaged 

Member Function Documentation

T ILGPU.AtomicOperations.IAtomicOperation< T >.Operation ( current,
value 
)

Performs the actual atomic binary operation.

Parameters
currentThe current value at the target memory location.
valueThe involved external value.
Returns
The result of the binary operation.

The documentation for this interface was generated from the following file: