| /third_party/vk-gl-cts/framework/delibs/decpp/ |
| D | deSpinBarrier.cpp | 34 SpinBarrier::SpinBarrier (deInt32 numThreads) in SpinBarrier() argument 36 , m_numThreads (numThreads) in SpinBarrier() 41 DE_ASSERT(numThreads > 0); in SpinBarrier() 49 void SpinBarrier::reset (deUint32 numThreads) in reset() argument 53 DE_ASSERT(numThreads > 0); in reset() 54 m_numThreads = numThreads; in reset() 60 …rier::WaitMode getWaitMode (SpinBarrier::WaitMode requested, deUint32 numCores, deInt32 numThreads) in getWaitMode() argument 63 …return ((deUint32)numThreads <= numCores) ? SpinBarrier::WAIT_MODE_BUSY : SpinBarrier::WAIT_MODE_Y… in getWaitMode() 175 TestThread (SpinBarrier& barrier, volatile deInt32* sharedVar, int numThreads, int threadNdx) in TestThread() argument 178 , m_numThreads (numThreads) in TestThread() [all …]
|
| D | deAppendList.cpp | 62 SharedState (deUint32 numThreads, deUint32 numElements_, deUint32 numElementsHint) in SharedState() 64 , barrier (numThreads) in SharedState() 97 void runAppendListTest (deUint32 numThreads, deUint32 numElements, deUint32 numElementsHint) in runAppendListTest() argument 99 SharedState sharedState (numThreads, numElements, numElementsHint); in runAppendListTest() 100 vector<TestThreadSp> threads (numThreads); in runAppendListTest() 102 for (deUint32 threadNdx = 0; threadNdx < numThreads; ++threadNdx) in runAppendListTest() 108 for (deUint32 threadNdx = 0; threadNdx < numThreads; ++threadNdx) in runAppendListTest() 111 DE_TEST_ASSERT(sharedState.testList.size() == (size_t)numElements*(size_t)numThreads); in runAppendListTest() 114 vector<deUint32> countByThread (numThreads); in runAppendListTest() 124 DE_TEST_ASSERT(de::inBounds(elem.threadNdx, 0u, numThreads)); in runAppendListTest() [all …]
|
| D | deSpinBarrier.hpp | 57 SpinBarrier (deInt32 numThreads); 62 void reset (deUint32 numThreads);
|
| D | deBlockBuffer.cpp | 307 int numThreads = rnd.getInt(1, 16); in runTest() local 311 for (int i = 0; i < numThreads; i++) in runTest()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
| D | non_marl_bench.cpp | 59 auto const numThreads = Schedule::numThreads(state); in SingleQueueTaskExecutor() local 99 for (int i = 0; i < numThreads; i++) { in SingleQueueTaskExecutor() 106 if (numThreads > 0) { in SingleQueueTaskExecutor() 127 auto const numThreads = Schedule::numThreads(state); in MultiQueueTaskExecutor() local 128 auto const numQueues = std::max(numThreads, 1); in MultiQueueTaskExecutor() 137 if (numThreads > 0) { in MultiQueueTaskExecutor() 143 for (int i = 0; i < numThreads; i++) { in MultiQueueTaskExecutor()
|
| D | marl_bench.h | 40 cfg.setWorkerThreadCount(numThreads(state)); in run() 84 static int numThreads(const ::benchmark::State& state) { in numThreads() function
|
| /third_party/vk-gl-cts/modules/egl/ |
| D | teglColorClearCase.cpp | 353 int numThreads = (int)contexts.size(); in executeForContexts() local 354 int numPackets = numThreads * numPacketsPerThread; in executeForContexts() 357 vector<vector<ClearPacket> > packets (numThreads); in executeForContexts() 358 vector<ColorClearThreadSp> threads (numThreads); in executeForContexts() 365 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() 374 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts() 375 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts() 389 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() 414 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() 420 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts()
|
| D | teglRenderTests.cpp | 944 const int numThreads = numContexts; in executeForContexts() local 945 const int numPackets = numThreads * packetsPerThread; in executeForContexts() 964 vector<vector<DrawOpPacket> > packets (numThreads); in executeForContexts() 965 vector<RenderTestThreadSp> threads (numThreads); in executeForContexts() 985 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) 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() 1057 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts()
|
| /third_party/vk-gl-cts/framework/delibs/dethread/ |
| D | deThreadTest.c | 627 static void runSingletonThreadedTest (int numThreads, int initTimeMs) in runSingletonThreadedTest() argument 635 for (threadNdx = 0; threadNdx < numThreads; threadNdx++) in runSingletonThreadedTest() 647 for (threadNdx = 0; threadNdx < numThreads; threadNdx++) in runSingletonThreadedTest() 665 int numThreads; in deSingleton_selfTest() member 683 int numThreads = cases[caseNdx].numThreads; in deSingleton_selfTest() local 689 runSingletonThreadedTest(numThreads, initTimeMs); in deSingleton_selfTest()
|
| /third_party/vk-gl-cts/external/glslang/ |
| D | osinclude.cpp | 94 void OS_WaitForAllThreads (void* threads, int numThreads) in OS_WaitForAllThreads() argument 96 for (int ndx = 0; ndx < numThreads; ndx++) in OS_WaitForAllThreads()
|
| /third_party/mesa3d/src/nouveau/codegen/ |
| D | nv50_ir_target.h | 180 threads = info->prop.cp.numThreads[0] * in parseDriverInfo() 181 info->prop.cp.numThreads[1] * in parseDriverInfo() 182 info->prop.cp.numThreads[2]; in parseDriverInfo()
|
| D | nv50_ir_driver.h | 104 uint16_t numThreads[3]; /* max number of threads */ member
|
| D | nv50_ir.cpp | 1258 info->prop.cp.numThreads[0] = in nv50_ir_init_prog_info() 1259 info->prop.cp.numThreads[1] = in nv50_ir_init_prog_info() 1260 info->prop.cp.numThreads[2] = 1; in nv50_ir_init_prog_info()
|
| D | nv50_ir_from_nir.cpp | 1300 info->prop.cp.numThreads[0] = nir->info.workgroup_size[0]; in parseNIR() 1301 info->prop.cp.numThreads[1] = nir->info.workgroup_size[1]; in parseNIR() 1302 info->prop.cp.numThreads[2] = nir->info.workgroup_size[2]; in parseNIR() 1903 if (sv == SV_TID && info->prop.cp.numThreads[i] == 1) { in visit()
|
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
| D | VersionInfoTest.java | 372 final int numThreads = 20; in TestMultiThread() local 373 GetInstanceWorker[] workers = new GetInstanceWorker[numThreads]; in TestMultiThread() 374 VersionInfo[][] results = new VersionInfo[numThreads][255]; in TestMultiThread()
|
| /third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
| D | VersionInfoTest.java | 381 final int numThreads = 20; in TestMultiThread() local 382 GetInstanceWorker[] workers = new GetInstanceWorker[numThreads]; in TestMultiThread() 383 VersionInfo[][] results = new VersionInfo[numThreads][255]; in TestMultiThread()
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
| D | vktBuildPrograms.cpp | 97 TaskExecutor (deUint32 numThreads); 110 TaskExecutor::TaskExecutor (deUint32 numThreads) in TaskExecutor() argument 111 : m_threads (numThreads) in TaskExecutor() 400 const deUint32 numThreads = deGetNumAvailableLogicalCores(); in buildPrograms() local 402 TaskExecutor executor (numThreads); in buildPrograms()
|
| /third_party/skia/third_party/externals/swiftshader/tests/regres/cmd/run_testlist/ |
| D | main.go | 58 …numThreads = flag.Int("num-threads", min(runtime.NumCPU(), 100), "number of parallel test ru… var 112 NumParallelTests: *numThreads,
|
| /third_party/icu/icu4c/source/test/intltest/ |
| D | simplethread.h | 57 ThreadPoolBase(IntlTest *test, int32_t numThreads);
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
| D | vktApiObjectManagementTests.cpp | 2685 const deUint32 numThreads = getDefaultTestThreadCount(); in multithreadedCreateSharedResourcesTest() local 2686 const Environment env (context, numThreads); in multithreadedCreateSharedResourcesTest() 2690 log << TestLog::Message << "numThreads = " << numThreads << TestLog::EndMessage; in multithreadedCreateSharedResourcesTest() 2692 for (deUint32 ndx = 0; ndx < numThreads; ndx++) in multithreadedCreateSharedResourcesTest() 2704 const deUint32 numThreads = getDefaultTestThreadCount(); in multithreadedCreatePerThreadResourcesTest() local 2706 vector<ResPtr> resources (numThreads); in multithreadedCreatePerThreadResourcesTest() 2709 log << TestLog::Message << "numThreads = " << numThreads << TestLog::EndMessage; in multithreadedCreatePerThreadResourcesTest() 2711 for (deUint32 ndx = 0; ndx < numThreads; ndx++) in multithreadedCreatePerThreadResourcesTest() 2749 const deUint32 numThreads = getDefaultTestThreadCount(); in multithreadedCreatePerThreadDeviceTest() local 2751 const Environment sharedEnv (context, numThreads); // For creating Device's in multithreadedCreatePerThreadDeviceTest() [all …]
|
| /third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/ |
| D | ReactorUnitTests.cpp | 2654 const size_t numThreads = 100; in TEST() local 2656 for(size_t t = 0; t < numThreads; ++t) in TEST() 3384 constexpr int numThreads = 8; in TEST() local 3387 auto threads = std::unique_ptr<std::thread[]>(new std::thread[numThreads]); in TEST() 3388 auto results = std::unique_ptr<int[]>(new int[numThreads * numLoops]); in TEST() 3390 for(int t = 0; t < numThreads; t++) in TEST() 3409 for(int t = 0; t < numThreads; t++) in TEST() 3414 for(int t = 0; t < numThreads; t++) in TEST() 3433 constexpr int numThreads = 8; in TEST() local 3442 auto threads = std::unique_ptr<std::thread[]>(new std::thread[numThreads]); in TEST() [all …]
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
| D | vktSynchronizationInternallySynchronizedObjectsTests.cpp | 643 const deUint32 numThreads = clamp(deGetNumAvailableLogicalCores(), 4u, 32u); in iterate() local 648 for (deUint32 ndx = 0; ndx < numThreads; ++ndx) in iterate() 755 const deUint32 numThreads = clamp(deGetNumAvailableLogicalCores(), 4u, 32u); in iterate() local 760 for (deUint32 ndx = 0; ndx < numThreads; ++ndx) in iterate()
|
| /third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/ |
| D | RangeTreeTest.java | 492 int numThreads = 100; in testThreadSafety() local 504 RangeTree combined = new ForkJoinPool(numThreads) in testThreadSafety()
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
| D | mtl_render_utils.mm | 705 const MTLSize &numThreads, 710 encoder->dispatchNonUniform(numThreads, threadsPerThreadgroup); 715 (numThreads.width + threadsPerThreadgroup.width - 1) / threadsPerThreadgroup.width, 716 (numThreads.height + threadsPerThreadgroup.height - 1) / threadsPerThreadgroup.height, 717 (numThreads.depth + threadsPerThreadgroup.depth - 1) / threadsPerThreadgroup.depth); 726 size_t numThreads) 728 NSUInteger w = std::min<NSUInteger>(pipelineState.threadExecutionWidth, numThreads); 733 MTLSize threads = MTLSizeMake(numThreads, 1, 1); 738 MTLSize groups = MTLSizeMake((numThreads + w - 1) / w, 1, 1);
|
| /third_party/node/doc/api/ |
| D | async_hooks.md | 837 constructor(numThreads) { 839 this.numThreads = numThreads; 844 for (let i = 0; i < numThreads; i++)
|