Home
last modified time | relevance | path

Searched refs:MaxStaticSize (Results 1 – 1 of 1) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceThreading.h50 template <typename T, size_t MaxStaticSize = 128>
58 BoundedProducerConsumerQueue(bool Sequential, size_t MaxSize = MaxStaticSize)
59 : MaxSize(std::min(MaxSize, MaxStaticSize)), Sequential(Sequential) {} in MaxSize() argument
70 std::unique_ptr<T> blockingPop(size_t NotifyWhenDownToSize = MaxStaticSize) {
94 const static size_t MaxStaticSizeMask = MaxStaticSize - 1;
95 static_assert(!(MaxStaticSize & (MaxStaticSize - 1)),
100 std::unique_ptr<T> WorkItems[MaxStaticSize];
138 assert(size() <= MaxStaticSize); in push()