Template Class MonotonicCounter
Defined in File counters.h
Class Documentation
-
template<MemoryScope scope_ = MemoryScope::SYSTEM, std::memory_order order_ = std::memory_order_seq_cst, typename SIntType_ = int, typename enable_ = std::enable_if_t<std::is_integral<SIntType_>::value && std::is_signed<SIntType_>::value>>
class MonotonicCounter -
Public Functions
-
__host__ MonotonicCounter()
-
__host__ ~MonotonicCounter() = default
-
__host__ MonotonicCounter(MonotonicCounter&) = delete
-
__host__ MonotonicCounter &operator=(const MonotonicCounter&) = delete
-
__host__ MonotonicCounter(MonotonicCounter&&) = default
-
__host__ __device__ void Reset() noexcept
-
__host__ MonotonicCounter()