/external/deqp/framework/delibs/decpp/ |
D | deAppendList.cpp | 42 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 …]
|
D | deSpinBarrier.cpp | 175 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/ |
D | teglColorClearCase.cpp | 365 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 391 …threadNdx] = 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 …]
|
D | teglMultiThreadTests.cpp | 231 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 …]
|
D | teglGLES2SharingThreadedTests.cpp | 2170 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 …]
|
D | teglGLES2SharedRenderingPerfTests.cpp | 859 …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 …]
|
D | teglRenderTests.cpp | 985 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local 987 packets[threadNdx].resize(packetsPerThread); in executeForContexts() 991 DrawOpPacket& packet = packets[threadNdx][packetNdx]; in executeForContexts() 994 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts() 995 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts() 997 packet.drawOps = &drawOps[(packetNdx*numThreads + threadNdx)*opsPerPacket]; in executeForContexts() 1031 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local 1033 …threadNdx] = RenderTestThreadSp(new RenderTestThread(egl, display, surface, contexts[threadNdx].se… in executeForContexts() 1034 threads[threadNdx]->start(); in executeForContexts() 1057 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local [all …]
|
/external/deqp/framework/delibs/dethread/ |
D | deThreadTest.c | 631 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/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingPipelineLibraryTests.cpp | 756 for (size_t threadNdx = 0; threadNdx < DE_LENGTH_OF_ARRAY(threadData); ++threadNdx) in addPipelineLibraryConfigurationsTests() local 758 …roup> threadGroup(new tcu::TestCaseGroup(group->getTestContext(), threadData[threadNdx].name, "")); in addPipelineLibraryConfigurationsTests() 765 threadData[threadNdx].multithreaded, in addPipelineLibraryConfigurationsTests() 766 threadData[threadNdx].pipelinesCreatedUsingDHO, in addPipelineLibraryConfigurationsTests()
|
D | vktRayTracingBuildTests.cpp | 626 for (size_t threadNdx = 0; threadNdx <= DE_LENGTH_OF_ARRAY(threads); ++threadNdx) in createBuildTests() local 628 const bool defferedOperation = threadNdx != DE_LENGTH_OF_ARRAY(threads); in createBuildTests() 629 …const deUint32 threadsCount = threadNdx < DE_LENGTH_OF_ARRAY(threads) ? threads[threadNdx] : … in createBuildTests()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkRayTracingUtil.cpp | 518 for (deUint32 threadNdx = 0; threadNdx < testThreadCount; ++threadNdx) in finishDeferredOperation() local 519 …threads[threadNdx] = de::MovePtr<std::thread>(new std::thread(finishDeferredOperationThreaded, &th… in finishDeferredOperation() 521 for (deUint32 threadNdx = 0; threadNdx < testThreadCount; ++threadNdx) in finishDeferredOperation() local 522 threads[threadNdx]->join(); in finishDeferredOperation() 524 for (deUint32 threadNdx = 0; threadNdx < testThreadCount; ++threadNdx) in finishDeferredOperation() local 525 if (threadParams[threadNdx].result == VK_SUCCESS) in finishDeferredOperation()
|
/external/deqp/modules/gles31/functional/ |
D | es31fAtomicCounterTests.cpp | 606 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()
|