ILGPU  0.9.0
ILGPU.AtomicOperations.CompareExchangeFloat Struct Reference

Represents an atomic compare-exchange operation of type float. More...

Inheritance diagram for ILGPU.AtomicOperations.CompareExchangeFloat:
ILGPU.AtomicOperations.ICompareExchangeOperation< float >

Public Member Functions

float CompareExchange (ref float target, float compare, float value)
 Realizes an atomic compare-exchange operation. More...
 
- Public Member Functions inherited from ILGPU.AtomicOperations.ICompareExchangeOperation< float >
CompareExchange (ref T target, T compare, T value)
 Realizes an atomic compare-exchange operation. More...
 

Detailed Description

Represents an atomic compare-exchange operation of type float.

Member Function Documentation

float ILGPU.AtomicOperations.CompareExchangeFloat.CompareExchange ( ref float  target,
float  compare,
float  value 
)

Realizes an atomic compare-exchange operation.

Parameters
targetThe target location.
compareThe expected comparison value.
valueThe target value.
Returns
The old value.

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