Template Numerical Library version\ main:0f06b53da
Loading...
Searching...
No Matches
TNL::Atomic< T, Devices::Sequential > Class Template Reference

Atomic wrapper for the sequential device. More...

#include <TNL/Atomic.h>

Inheritance diagram for TNL::Atomic< T, Devices::Sequential >:
[legend]
Collaboration diagram for TNL::Atomic< T, Devices::Sequential >:
[legend]

Public Member Functions

 Atomic () noexcept=default
 Inherited constructors.
 Atomic (const Atomic &desired) noexcept
 Inherited constructors.
T fetch_max (T value) noexcept
 Inherited fetch_max method.
T fetch_min (T value) noexcept
 Inherited fetch_min method.
Atomic & operator= (const Atomic &desired) noexcept
 Inherited assignment operators.
Public Member Functions inherited from TNL::Atomic< T, Devices::Host >
 Atomic () noexcept=default
 Default constructor.
 Atomic (const Atomic &desired) noexcept
 Copy constructor.
T fetch_max (T value) noexcept
 Atomically updates the stored value to the maximum of the current value and value.
T fetch_min (T value) noexcept
 Atomically updates the stored value to the minimum of the current value and value.
Atomic & operator= (const Atomic &desired) noexcept
 Copy assignment operator.
Public Member Functions inherited from std::atomic< T >
T atomic (T... args)
T compare_exchange_strong (T... args)
T compare_exchange_weak (T... args)
T exchange (T... args)
T fetch_add (T... args)
T fetch_and (T... args)
T fetch_or (T... args)
T fetch_sub (T... args)
T fetch_xor (T... args)
T is_lock_free (T... args)
T load (T... args)
T operator T (T... args)
T operator&= (T... args)
T operator++ (T... args)
T operator++(int) (T... args)
T operator+= (T... args)
T operator-- (T... args)
T operator--(int) (T... args)
T operator-= (T... args)
T operator= (T... args)
T operator^= (T... args)
T operator|= (T... args)
T store (T... args)

Additional Inherited Members

Public Attributes inherited from std::atomic< T >
T ptr
 STL member.

Detailed Description

template<typename T>
class TNL::Atomic< T, Devices::Sequential >

Atomic wrapper for the sequential device.

Inherits all behaviour from Atomic<T, Devices::Host>.


The documentation for this class was generated from the following file:
  • src/TNL/Atomic.h