Template Numerical Library version\ main:f17d0c8
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__exchange (T desired) noexcept
 
__cuda_callable__fetch_add (T arg)
 
__cuda_callable__fetch_and (T arg)
 
__cuda_callable__fetch_max (T arg) noexcept
 
__cuda_callable__fetch_min (T arg) noexcept
 
__cuda_callable__fetch_or (T arg)
 
__cuda_callable__fetch_sub (T arg)
 
__cuda_callable__fetch_xor (T arg)
 
constexpr bool is_always_lock_free () const noexcept
 
bool is_lock_free () const noexcept
 
__cuda_callable__load () const noexcept
 
__cuda_callable__ operator T () const noexcept
 
__cuda_callable__operator&= (T arg) noexcept
 
__cuda_callable__operator++ () noexcept
 
__cuda_callable__operator++ (int) noexcept
 
__cuda_callable__operator+= (T arg) noexcept
 
__cuda_callable__operator-- () noexcept
 
__cuda_callable__operator-- (int) noexcept
 
__cuda_callable__operator-= (T arg) noexcept
 
__cuda_callable__ Atomicoperator= (const Atomic &desired) noexcept
 
__cuda_callable__operator= (T desired) noexcept
 
__cuda_callable__operator^= (T arg) noexcept
 
__cuda_callable__operator|= (T arg) noexcept
 
__cuda_callable__ void store (T desired) noexcept
 

Protected Attributes

value
 

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