Lines Matching refs:numThreads
34 SpinBarrier::SpinBarrier (deInt32 numThreads) in SpinBarrier() argument
35 : m_numThreads (numThreads) in SpinBarrier()
39 DE_ASSERT(numThreads > 0); in SpinBarrier()
102 …TestThread (SpinBarrier& barrier, volatile deInt32* sharedVar, int numThreads, int threadNdx, bool… in TestThread() argument
105 , m_numThreads (numThreads) in TestThread()
156 void multiThreadTest (int numThreads) in multiThreadTest() argument
158 SpinBarrier barrier (numThreads); in multiThreadTest()
160 std::vector<TestThread*> threads (numThreads, static_cast<TestThread*>(DE_NULL)); in multiThreadTest()
165 const bool busyOk = (deUint32)numThreads <= deGetNumAvailableLogicalCores(); in multiThreadTest()
167 for (int ndx = 0; ndx < numThreads; ndx++) in multiThreadTest()
169 threads[ndx] = new TestThread(barrier, &sharedVar, numThreads, ndx, busyOk); in multiThreadTest()
174 for (int ndx = 0; ndx < numThreads; ndx++) in multiThreadTest()