Commit Graph

2 Commits (9627c550a0c4403813af23d6bdf5348aef0d08d7)

Author SHA1 Message Date
Morph 25429998e3 bounded_threadsafe_queue: Use constexpr capacity and mask
While this is the primary change, we also:
- Remove the mpsc namespace and rename Queue to MPSCQueue
- Make Slot a private struct within MPSCQueue
- Remove the AlignedAllocator template argument, as we use std::allocator
- Replace instances of mask + 1 with capacity, and mask + 2 with capacity + 1
3 years ago
Levi Behunin 4dd6bcd206 gpu_thread: Move to bounded queue 3 years ago