Home
last modified time | relevance | path

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

/external/deqp/framework/delibs/decpp/
DdeAppendList.cpp42 deUint32 threadNdx; member
46 : threadNdx (threadNdx_) in TestElem()
51 : threadNdx (0) in TestElem()
72 TestThread (SharedState* shared, deUint32 threadNdx) in TestThread() argument
74 , m_threadNdx (threadNdx) in TestThread()
102 for (deUint32 threadNdx = 0; threadNdx < numThreads; ++threadNdx) in runAppendListTest() local
104 threads[threadNdx] = TestThreadSp(new TestThread(&sharedState, threadNdx)); in runAppendListTest()
105 threads[threadNdx]->start(); in runAppendListTest()
108 for (deUint32 threadNdx = 0; threadNdx < numThreads; ++threadNdx) in runAppendListTest() local
109 threads[threadNdx]->join(); in runAppendListTest()
[all …]
DdeSpinBarrier.cpp175 TestThread (SpinBarrier& barrier, volatile deInt32* sharedVar, int numThreads, int threadNdx) in TestThread() argument
179 , m_threadNdx (threadNdx) in TestThread()
276 …TestExitThread (SpinBarrier& barrier, int numThreads, int threadNdx, SpinBarrier::WaitMode waitMod… in TestExitThread() argument
279 , m_threadNdx (threadNdx) in TestExitThread()
/external/deqp/modules/egl/
DteglColorClearCase.cpp365 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
367 packets[threadNdx].resize(numPacketsPerThread); in executeForContexts()
371 ClearPacket& packet = packets[threadNdx][packetNdx]; in executeForContexts()
374 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts()
375 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts()
380 if (threadNdx == 0 && packetNdx == 0 && clearNdx == 0) in executeForContexts()
389 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
391threadNdx] = ColorClearThreadSp(new ColorClearThread(egl, display, surface, contexts[threadNdx].se… in executeForContexts()
392 threads[threadNdx]->start(); in executeForContexts()
414 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
[all …]
DteglMultiThreadTests.cpp231 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in execTest() local
244 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in execTest() local
272 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in ~MultiThreadedTest() local
273 delete m_threads[threadNdx]; in ~MultiThreadedTest()
340 for (int threadNdx = 0; threadNdx < m_threadCount; threadNdx++) in iterate() local
341 m_threads.push_back(new TestThread(*this, threadNdx)); in iterate()
346 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate() local
347 m_threads[threadNdx]->start(); in iterate()
353 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate() local
355 if (m_threads[threadNdx]->getStatus() != TestThread::THREADSTATUS_RUNNING) in iterate()
[all …]
DteglGLES2SharingThreadedTests.cpp2170 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init() local
2172 m_threads.push_back(new GLES2ThreadTest::EGLThread(egl, m_gl, deInt32Hash(m_seed+threadNdx))); in init()
2174 …SharedPtr<GLES2ThreadTest::GLES2Context> shared = (threadNdx > 0 ? resourceManager.popContext(0) :… in init()
2175 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, s… in init()
2184 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init() local
2187 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglCo… in init()
2192 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init() local
2194 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[threadNdx], m_eglDi… in init()
2200 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init() local
2202 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_sync")); in init()
[all …]
DteglGLES2SharedRenderingPerfTests.cpp859 …for (int threadNdx = 0; threadNdx < m_config.threadCount * m_config.perThreadContextCount; threadN… in init() local
860 …play, eglConfig, m_config, m_config.sharedContexts, (threadNdx == 0 ? DE_NULL : m_contexts[threadN… in init()
867 for (int threadNdx = 0; threadNdx < (int)m_contexts.size(); threadNdx++) in deinit() local
869 delete m_contexts[threadNdx]; in deinit()
870 m_contexts[threadNdx] = DE_NULL; in deinit()
893 for (int threadNdx = 0; threadNdx < threadCount; threadNdx++) in createThreads() local
896 threadContexts.push_back(contexts[threadNdx * perThreadContextCount + contextNdx]); in createThreads()
906 for (int threadNdx = 0; threadNdx < (int)threads.size(); threadNdx++) in destroyThreads() local
908 delete threads[threadNdx]; in destroyThreads()
909 threads[threadNdx] = DE_NULL; in destroyThreads()
[all …]
DteglRenderTests.cpp982 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
984 packets[threadNdx].resize(packetsPerThread); in executeForContexts()
988 DrawOpPacket& packet = packets[threadNdx][packetNdx]; in executeForContexts()
991 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts()
992 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts()
994 packet.drawOps = &drawOps[(packetNdx*numThreads + threadNdx)*opsPerPacket]; in executeForContexts()
1028 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
1030threadNdx] = RenderTestThreadSp(new RenderTestThread(egl, display, surface, contexts[threadNdx].se… in executeForContexts()
1031 threads[threadNdx]->start(); in executeForContexts()
1051 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
[all …]
/external/deqp/framework/delibs/dethread/
DdeThreadTest.c631 int threadNdx; in runSingletonThreadedTest() local
635 for (threadNdx = 0; threadNdx < numThreads; threadNdx++) in runSingletonThreadedTest()
647 for (threadNdx = 0; threadNdx < numThreads; threadNdx++) in runSingletonThreadedTest()
649 deThread thread = deThreadArray_get(threads, threadNdx); in runSingletonThreadedTest()
/external/deqp/modules/gles31/functional/
Des31fAtomicCounterTests.cpp606 for (int threadNdx = 0; threadNdx < m_spec.threadCount; threadNdx++) in splitBuffer() local
612 …const int id = ((threadNdx * m_spec.callCount) + callNdx) * m_spec.atomicCounterCount + counterNdx; in splitBuffer()