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/
DteglMultiThreadTests.cpp231 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in execTest() local
232 m_threads[threadNdx]->setStatus(TestThread::THREADSTATUS_NOT_SUPPORTED); in execTest()
235 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in execTest() local
246 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in execTest() local
247 m_threads[threadNdx]->setStatus(TestThread::THREADSTATUS_ERROR); in execTest()
250 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in execTest() local
279 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in ~MultiThreadedTest() local
280 delete m_threads[threadNdx]; in ~MultiThreadedTest()
344 for (int threadNdx = 0; threadNdx < m_threadCount; threadNdx++) in iterate() local
345 m_threads.push_back(new TestThread(*this, threadNdx)); in iterate()
[all …]
DteglColorClearCase.cpp364 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
366 packets[threadNdx].resize(numPacketsPerThread); in executeForContexts()
370 ClearPacket& packet = packets[threadNdx][packetNdx]; in executeForContexts()
373 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts()
374 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts()
379 if (threadNdx == 0 && packetNdx == 0 && clearNdx == 0) in executeForContexts()
388 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
390threadNdx] = ColorClearThreadSp(new ColorClearThread(egl, display, surface, contexts[threadNdx].se… in executeForContexts()
391 threads[threadNdx]->start(); in executeForContexts()
413 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
[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.cpp855 …for (int threadNdx = 0; threadNdx < m_config.threadCount * m_config.perThreadContextCount; threadN… in init() local
856 …play, eglConfig, m_config, m_config.sharedContexts, (threadNdx == 0 ? DE_NULL : m_contexts[threadN… in init()
863 for (int threadNdx = 0; threadNdx < (int)m_contexts.size(); threadNdx++) in deinit() local
865 delete m_contexts[threadNdx]; in deinit()
866 m_contexts[threadNdx] = DE_NULL; in deinit()
889 for (int threadNdx = 0; threadNdx < threadCount; threadNdx++) in createThreads() local
892 threadContexts.push_back(contexts[threadNdx * perThreadContextCount + contextNdx]); in createThreads()
902 for (int threadNdx = 0; threadNdx < (int)threads.size(); threadNdx++) in destroyThreads() local
904 delete threads[threadNdx]; in destroyThreads()
905 threads[threadNdx] = DE_NULL; in destroyThreads()
[all …]
DteglRenderTests.cpp944 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
946 packets[threadNdx].resize(packetsPerThread); in executeForContexts()
950 DrawOpPacket& packet = packets[threadNdx][packetNdx]; in executeForContexts()
953 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts()
954 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts()
956 packet.drawOps = &drawOps[(packetNdx*numThreads + threadNdx)*opsPerPacket]; in executeForContexts()
990 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
992threadNdx] = RenderTestThreadSp(new RenderTestThread(egl, display, surface, contexts[threadNdx].se… in executeForContexts()
993 threads[threadNdx]->start(); in executeForContexts()
1013 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()