Home
last modified time | relevance | path

Searched refs:MaxStaticSize (Results 1 – 2 of 2) 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerIntrinsics.cpp26 const unsigned MaxStaticSize = 1024; variable
61 return !CI || (CI->getZExtValue() > MaxStaticSize); in shouldExpandOperationWithSize()