thread-safe device-sided ring buffer without any overflow checks More...
Public Types | |
using | base_type = T |
using | index_type = index_t |
using | status_type = Status |
Public Member Functions | |
__host__ | CyclicStore (const index_type capacity) noexcept |
constructor More... | |
__host____device__ | CyclicStore (const CyclicStore &o) noexcept |
copy-constructor (shallow) More... | |
__host__ | CyclicStore (CyclicStore &&o) noexcept |
move-constructor More... | |
__host__ | ~CyclicStore () noexcept |
destructor More... | |
__host__ T * | get () const noexcept |
atomically fetches the next slot in the buffer More... | |
__host__ status_type | status () const noexcept |
get buffer status More... | |
__host__ index_type | capacity () const noexcept |
get buffer capacity More... | |
__host__ index_type | bytes_total () const noexcept |
get the total number of bytes occupied by this data structure More... | |
thread-safe device-sided ring buffer without any overflow checks
T | base type |
Definition at line 16 of file storage.cuh.
using warpcore::storage::CyclicStore< T >::base_type = T |
Definition at line 19 of file storage.cuh.
using warpcore::storage::CyclicStore< T >::index_type = index_t |
Definition at line 20 of file storage.cuh.
using warpcore::storage::CyclicStore< T >::status_type = Status |
Definition at line 21 of file storage.cuh.
|
inlineexplicitnoexcept |
|
inlinenoexcept |
copy-constructor (shallow)
[in] | object | to be copied |
Definition at line 59 of file storage.cuh.
|
inlinenoexcept |
|
inlinenoexcept |
destructor
Definition at line 85 of file storage.cuh.
|
inlinenoexcept |
get the total number of bytes occupied by this data structure
Definition at line 136 of file storage.cuh.
|
inlinenoexcept |
|
inlinenoexcept |
atomically fetches the next slot in the buffer
const
on purpose Definition at line 100 of file storage.cuh.
|
inlinenoexcept |