Template Numerical Library: TNL::Atomic< T, Devices::Cuda > Class Template Reference

Template Numerical Library version\ main:c7077e4fd

Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
TNL::Atomic< T, Devices::Cuda > Class Template Reference

## Public Types
using | value_type = T

## Public Member Functions
__cuda_callable__ | Atomic (const Atomic &desired) noexcept
__cuda_callable__ constexpr | Atomic (T desired) noexcept
__cuda_callable__ bool | compare_exchange_strong (T &expected, T desired) noexcept
__cuda_callable__ bool | compare_exchange_weak (T &expected, T desired) noexcept
__cuda_callable__ T | exchange (T desired) noexcept
__cuda_callable__ T | fetch_add (T arg)
__cuda_callable__ T | fetch_and (T arg)
__cuda_callable__ T | fetch_max (T arg) noexcept
__cuda_callable__ T | fetch_min (T arg) noexcept
__cuda_callable__ T | fetch_or (T arg)
__cuda_callable__ T | fetch_sub (T arg)
__cuda_callable__ T | fetch_xor (T arg)
constexpr bool | is_always_lock_free () const noexcept
bool | is_lock_free () const noexcept
__cuda_callable__ T | load () const noexcept
__cuda_callable__ | operator T () const noexcept
__cuda_callable__ T | operator&= (T arg) noexcept
__cuda_callable__ T | operator++ () noexcept
__cuda_callable__ T | operator++ (int) noexcept
__cuda_callable__ T | operator+= (T arg) noexcept
__cuda_callable__ T | operator-- () noexcept
__cuda_callable__ T | operator-- (int) noexcept
__cuda_callable__ T | operator-= (T arg) noexcept
__cuda_callable__ Atomic & | operator= (const Atomic &desired) noexcept
__cuda_callable__ T | operator= (T desired) noexcept
__cuda_callable__ T | operator^= (T arg) noexcept
__cuda_callable__ T | operator|= (T arg) noexcept
__cuda_callable__ void | store (T desired) noexcept

## Protected Attributes
T | value

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

- src/TNL/Atomic.h