/third_party/vk-gl-cts/modules/egl/ |
H A D | teglGLES2SharedRenderingPerfTests.cpp | 73 int threadCount; member 859 for (int threadNdx = 0; threadNdx < m_config.threadCount * m_config.perThreadContextCount; threadNdx++) in init() 886 void createThreads (vector<TestThread*>& threads, int threadCount, int perThreadContextCount, vector<TestContext*>& contexts, const Library& egl) in createThreads() argument 888 DE_ASSERT(threadCount * perThreadContextCount == (int)contexts.size()); in createThreads() 893 for (int threadNdx = 0; threadNdx < threadCount; threadNdx++) in createThreads() 988 log << TestLog::Message << "Total triangles rendered: : " << config.triangleCount * config.drawCallCount * config.frameCount * config.perThreadContextCount * config.threadCount << TestLog::EndMessage; in logTestConfig() 989 log << TestLog::Message << "Number of threads: " << config.threadCount << TestLog::EndMessage; in logTestConfig() 1043 createThreads(threads, m_config.threadCount, m_config.perThreadContextCount, m_contexts, m_eglTestCtx.getLibrary()); in iterate() 1091 basicConfig.threadCount = 1; in init() 1126 int threadCount in init() local 1175 int threadCount = threadCounts[threadCountNdx]; init() local 1223 int threadCount = threadCounts[threadCountNdx]; init() local 1272 int threadCount = threadCounts[threadCountNdx]; init() local 1321 int threadCount = threadCounts[threadCountNdx]; init() local 1370 int threadCount = threadCounts[threadCountNdx]; init() local 1419 int threadCount = threadCounts[threadCountNdx]; init() local 1471 int threadCount = threadCounts[threadCountNdx]; init() local 1522 int threadCount = threadCounts[threadCountNdx]; init() local 1573 int threadCount = threadCounts[threadCountNdx]; init() local [all...] |
H A D | teglGLES2SharingThreadedTests.cpp | 2063 int threadCount; member 2104 : threadCount (0) in TestConfig() 2170 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init() 2184 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init() 2192 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init() 2200 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init() 2209 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init() 2230 threadNdx = (threadNdx + 1) % m_config.threadCount; in init() 2235 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init() 2251 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNd in init() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fAtomicCounterTests.cpp | 94 , threadCount (0) in TestSpec() 104 int threadCount; member 122 deUint32 getInitialValue (void) const { return m_spec.callCount * m_spec.threadCount + 1; } in getInitialValue() 242 src << " uint preGet[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource() 245 src << " uint increment[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource() 248 src << " uint decrement[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource() 251 src << " uint postGet[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource() 254 src << " uint get[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource() 537 expectedValue = initialValue + (m_spec.useBranches ? m_spec.threadCount*m_spec.callCount - m_spec.threadCount*m_spe in checkAndLogCounterValues() 1351 const int threadCount = threadCounts[threadCountNdx]; AtomicCounterTests() local 1435 const int threadCount = threadCounts[threadCountNdx]; AtomicCounterTests() local [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
H A D | SwiftConfig.cpp | 375 html += "<tr><td>Number of threads:</td><td><select name='threadCount' title='The number of rendering threads to be used.'>\n"; in page() 376 html += "<option value='-1'" + (config.threadCount == -1 ? selected : empty) + ">Core count</option>\n"; in page() 377 html += "<option value='0'" + (config.threadCount == 0 ? selected : empty) + ">Process affinity (default)</option>\n"; in page() 378 html += "<option value='1'" + (config.threadCount == 1 ? selected : empty) + ">1</option>\n"; in page() 379 html += "<option value='2'" + (config.threadCount == 2 ? selected : empty) + ">2</option>\n"; in page() 380 html += "<option value='3'" + (config.threadCount == 3 ? selected : empty) + ">3</option>\n"; in page() 381 html += "<option value='4'" + (config.threadCount == 4 ? selected : empty) + ">4</option>\n"; in page() 382 html += "<option value='5'" + (config.threadCount == 5 ? selected : empty) + ">5</option>\n"; in page() 383 html += "<option value='6'" + (config.threadCount == 6 ? selected : empty) + ">6</option>\n"; in page() 384 html += "<option value='7'" + (config.threadCount in page() [all...] |
H A D | SwiftConfig.hpp | 46 int threadCount; member
|
/third_party/vk-gl-cts/scripts/ |
H A D | launchcontrol_build.py | 59 threadCount = multiprocessing.cpu_count() + 1 60 print("Invoke make with %d threads" % threadCount) 61 execute(["make", "-j%d" % threadCount])
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_opcodes.cpp | 306 virtual void Start (uint32 threadCount, in Start() argument 312 dng_filter_task::Start (threadCount, in Start() 318 threadCount, in Start() 446 virtual void Start (uint32 threadCount, in Start() argument 455 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++) in Start() 463 threadCount, in Start()
|
H A D | dng_jpeg_image.cpp | 225 uint32 threadCount = Min_uint32 (tileCount, in Encode() local 236 dng_rect (0, 0, 16, 16 * threadCount)); in Encode() 338 uint32 threadCount = Min_uint32 (tileCount, in FindDigest() local 346 dng_rect (0, 0, 16, 16 * threadCount)); in FindDigest()
|
H A D | dng_area_task.h | 128 /// \param threadCount Total number of threads that will be used for processing. Less than or equal to MaxThreads. 133 virtual void Start (uint32 threadCount, 144 /// \param threadIndex 0 to threadCount - 1 index indicating which thread this is. (Can be used to get a thread-specific buffer allocated in the Start method.) 155 /// \param threadCount Number of threads used for processing. Same as value passed to Start. 157 virtual void Finish (uint32 threadCount); 169 /// \param threadIndex 0 to threadCount - 1 index indicating which thread this is.
|
H A D | dng_filter_task.cpp | 58 void dng_filter_task::Start (uint32 threadCount, in Start() argument 71 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++) in Start()
|
H A D | dng_bad_pixels.h | 65 uint32 threadCount, 269 uint32 threadCount,
|
H A D | dng_resample.cpp | 518 virtual void Start (uint32 threadCount, 628 void dng_resample_task::Start (uint32 threadCount, in Start() argument 677 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++) in Start() 686 dng_filter_task::Start (threadCount, in Start()
|
H A D | dng_filter_task.h | 103 /// between 0 and threadCount - 1 for the threadCount passed to Start method. 116 /// \param threadCount Total number of threads that will be used for 128 virtual void Start (uint32 threadCount, 138 /// \param threadIndex 0 to threadCount - 1 index indicating which thread
|
H A D | dng_lens_correction.h | 616 uint32 threadCount,
|
H A D | dng_render.cpp | 751 virtual void Start (uint32 threadCount, 816 void dng_render_task::Start (uint32 threadCount, in Start() argument 822 dng_filter_task::Start (threadCount, in Start() 978 for (uint32 threadIndex = 0; threadIndex < threadCount; threadIndex++) in Start()
|
/third_party/skia/tests/ |
H A D | SkScalerCacheTest.cpp | 20 Barrier(int threadCount) : fThreadCount(threadCount) { } in Barrier() argument
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | VulkanMultithreadingTest.cpp | 64 size_t threadCount) in runMultithreadedGLTest() 74 std::vector<std::thread> threads(threadCount); in runMultithreadedGLTest() 75 for (size_t threadIdx = 0; threadIdx < threadCount; threadIdx++) in runMultithreadedGLTest() 62 runMultithreadedGLTest( std::function<void(EGLSurface surface, size_t threadIndex)> testBody, size_t threadCount) runMultithreadedGLTest() argument
|
H A D | MultithreadingTest.cpp | 59 size_t threadCount) in runMultithreadedGLTest() 69 std::vector<std::thread> threads(threadCount); in runMultithreadedGLTest() 70 for (size_t threadIdx = 0; threadIdx < threadCount; threadIdx++) in runMultithreadedGLTest() 57 runMultithreadedGLTest( std::function<void(EGLSurface surface, size_t threadIndex)> testBody, size_t threadCount) runMultithreadedGLTest() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingBuildTests.cpp | 728 for (const auto threadCount : threads) in createBuildTests() 732 DE_ASSERT(!(threadCount != 0 && deviceBuild)); in createBuildTests() 746 if (threadCount != 0) in createBuildTests() 748 groupName += threadCount == std::numeric_limits<deUint32>::max() in createBuildTests() 749 ? "ht_max" : "ht_" + de::toString(threadCount); in createBuildTests() 754 buildTest(groupGpuCpuHt.get(), threadCount, deviceBuild); in createBuildTests() 758 if (threadCount == 0) in createBuildTests()
|
H A D | vktRayTracingBuildLargeTests.cpp | 98 const deUint32 threadCount) in makePipeline() 102 rayTracingPipeline->setDeferredOperation(deferredOperation, threadCount); in makePipeline() 154 de::MovePtr<BufferWithMemory> runTest (const deUint32 threadCount); 348 de::MovePtr<BufferWithMemory> RayTracingBuildLargeTestInstance::runTest (const deUint32 threadCount) in runTest() argument 377 const Move<VkPipeline> pipeline = makePipeline(vkd, device, m_context.getBinaryCollection(), rayTracingPipeline, *pipelineLayout, callableShaderCount, m_data.deferredOperation, threadCount); in runTest() 91 makePipeline(const DeviceInterface& vkd, const VkDevice device, vk::BinaryCollection& collection, de::MovePtr<RayTracingPipeline>& rayTracingPipeline, VkPipelineLayout pipelineLayout, const deUint32 groupCount, const bool deferredOperation, const deUint32 threadCount) makePipeline() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingBuildTests.cpp | 720 for (const auto threadCount : threads) in createBuildTests() 724 DE_ASSERT(!(threadCount != 0 && deviceBuild)); in createBuildTests() 738 if (threadCount != 0) in createBuildTests() 740 groupName += threadCount == std::numeric_limits<deUint32>::max() in createBuildTests() 741 ? "ht_max" : "ht_" + de::toString(threadCount); in createBuildTests() 746 buildTest(groupGpuCpuHt.get(), threadCount, deviceBuild); in createBuildTests() 750 if (threadCount == 0) in createBuildTests()
|
H A D | vktRayTracingBuildLargeTests.cpp | 98 const deUint32 threadCount) in makePipeline() 102 rayTracingPipeline->setDeferredOperation(deferredOperation, threadCount); in makePipeline() 154 de::MovePtr<BufferWithMemory> runTest (const deUint32 threadCount); 348 de::MovePtr<BufferWithMemory> RayTracingBuildLargeTestInstance::runTest (const deUint32 threadCount) in runTest() argument 377 const Move<VkPipeline> pipeline = makePipeline(vkd, device, m_context.getBinaryCollection(), rayTracingPipeline, *pipelineLayout, callableShaderCount, m_data.deferredOperation, threadCount); in runTest() 91 makePipeline(const DeviceInterface& vkd, const VkDevice device, vk::BinaryCollection& collection, de::MovePtr<RayTracingPipeline>& rayTracingPipeline, VkPipelineLayout pipelineLayout, const deUint32 groupCount, const bool deferredOperation, const deUint32 threadCount) makePipeline() argument
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | Renderer.cpp | 65 AtomicInt threadCount(1); 698 if(threadCount == 1) // Use main thread for draw execution in draw() 866 if((int)qSize < threadCount - curThreadsAwake + 1) in scheduleTask() 876 if(curThreadsAwake != threadCount) in scheduleTask() 880 for(int i = 0; i < threadCount && wakeup > 0; i++) in scheduleTask() 2134 unitCount = ceilPow2(threadCount); in initializeThreads() 2135 clusterCount = ceilPow2(threadCount); in initializeThreads() 2143 for(int i = 0; i < threadCount; i++) in initializeThreads() 2172 for(int thread = 0; thread < threadCount; thread++) in terminateThreads() 2800 return threadCount; [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | intltest.cpp | 581 threadCount = 12; in IntlTest() 597 threadCount = caller->threadCount; in setCaller() 674 int32_t rval = this->threadCount; in setThreadCount() 675 this->threadCount = count; in setThreadCount() 1240 int32_t threadCount = 12; in main() local 1298 threadCount = atoi(str + 8); in main() 1328 "### threads:<threadCount>\n" in main() 1354 major.setThreadCount( threadCount ); in main() 1394 fprintf(stdout, " Threads : %d\n", threadCount); in main() [all...] |
/third_party/skia/third_party/externals/d3d12allocator/src/ |
H A D | Tests.cpp | 1210 const UINT threadCount = 32;
in TestMultithreading() local 1218 std::thread threads[threadCount];
in TestMultithreading() 1219 for(UINT threadIndex = 0; threadIndex < threadCount; ++threadIndex)
in TestMultithreading() 1332 for(UINT threadIndex = threadCount; threadIndex--; )
in TestMultithreading()
|