Home
last modified time | relevance | path

Searched full:threadcount (Results 1 – 25 of 568) sorted by relevance

12345678910>>...23

/aosp_15_r20/external/deqp/modules/egl/
H A DteglGLES2SharedRenderingPerfTests.cpp73 int threadCount; member
862 …for (int threadNdx = 0; threadNdx < m_config.threadCount * m_config.perThreadContextCount; threadN… in init()
890 void createThreads(vector<TestThread *> &threads, int threadCount, int perThreadContextCount, in createThreads() argument
893 DE_ASSERT(threadCount * perThreadContextCount == (int)contexts.size()); in createThreads()
898 for (int threadNdx = 0; threadNdx < threadCount; threadNdx++) in createThreads()
994 config.threadCount in logTestConfig()
996 log << TestLog::Message << "Number of threads: " << config.threadCount << TestLog::EndMessage; in logTestConfig()
1059 …createThreads(threads, m_config.threadCount, m_config.perThreadContextCount, m_contexts, m_eglTest… in iterate()
1108 basicConfig.threadCount = 1; in init()
1144 int threadCount = threadCounts[threadCountNdx]; in init() local
[all …]
/aosp_15_r20/external/OpenCL-CTS/test_conformance/c11_atomics/
H A Dtest_atomics.cpp42 virtual cl_uint NumResults(cl_uint threadCount, cl_device_id deviceID) in NumResults() argument
44 return threadCount; in NumResults()
68 virtual void HostFunction(cl_uint tid, cl_uint threadCount, in HostFunction() argument
74 virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, in ExpectedValue() argument
182 virtual cl_uint NumResults(cl_uint threadCount, cl_device_id deviceID) in NumResults() argument
184 return threadCount; in NumResults()
190 virtual void HostFunction(cl_uint tid, cl_uint threadCount, in HostFunction() argument
196 virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, in ExpectedValue() argument
311 virtual cl_uint NumResults(cl_uint threadCount, cl_device_id deviceID) in NumResults() argument
313 return threadCount; in NumResults()
[all …]
H A Dcommon.h132 cl_uint threadCount; member
142 threadContext->tid, threadContext->threadCount, in HostThreadFunction()
160 virtual cl_uint NumResults(cl_uint threadCount, cl_device_id deviceID) in NumResults() argument
165 virtual bool ExpectedValue(HostDataType &expected, cl_uint threadCount, in ExpectedValue() argument
171 virtual bool GenerateRefs(cl_uint threadCount, HostDataType *startRefValues, in GenerateRefs() argument
176 virtual bool VerifyRefs(bool &correct, cl_uint threadCount, in VerifyRefs() argument
299 virtual void HostFunction(cl_uint tid, cl_uint threadCount, in HostFunction() argument
435 virtual cl_uint CurrentGroupNum(cl_uint threadCount) in CurrentGroupNum() argument
437 if (threadCount == 0) return 0; in CurrentGroupNum()
439 return threadCount / CurrentGroupSize(); in CurrentGroupNum()
[all …]
/aosp_15_r20/external/deqp/modules/gles31/functional/
H A Des31fAtomicCounterTests.cpp94 , threadCount(0) in TestSpec()
104 int threadCount; member
127 return m_spec.callCount * m_spec.threadCount + 1; in getInitialValue()
249 …src << " uint preGet[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource()
252 …src << " uint increment[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];… in generateShaderSource()
255 …src << " uint decrement[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];… in generateShaderSource()
258 …src << " uint postGet[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n… in generateShaderSource()
261 … src << " uint get[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource()
546 … expectedValue = initialValue + (m_spec.useBranches ? m_spec.threadCount * m_spec.callCount - in checkAndLogCounterValues()
547 … m_spec.threadCount * m_spec.callCount / 2 : in checkAndLogCounterValues()
[all …]
/aosp_15_r20/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
H A DThreadGroup002Test.java166 for (int threadCount = 0; threadCount < testedThreadsNumber; threadCount++) { in testThreadGroup002()
167 logWriter.println("\n==> Check for Thread: threadID = " + testedThreadsIDs[threadCount] in testThreadGroup002()
168 + "; threadName = " + testedThreadsNames[threadCount]); in testThreadGroup002()
173 packet.setNextValueAsReferenceTypeID(testedThreadsIDs[threadCount]); in testThreadGroup002()
191 packet.setNextValueAsThreadID(testedThreadsIDs[threadCount]); in testThreadGroup002()
202 if ( threadCount >= finishedTestedThreadsNumber ) { in testThreadGroup002()
204 logWriter.println("## Thread witn number = " + threadCount + in testThreadGroup002()
217 if ( threadCount < finishedTestedThreadsNumber ) { in testThreadGroup002()
219 logWriter.println("## Thread witn number = " + threadCount + in testThreadGroup002()
247 if ( ! testedThreadGroupsNames[threadCount].equals(threadGroupName) ) { in testThreadGroup002()
[all …]
/aosp_15_r20/external/angle/src/tests/test_utils/
H A DMultiThreadSteps.cpp18 void RunLockStepThreads(EGLWindow *window, size_t threadCount, LockStepThreadFunc threadFuncs[]) in RunLockStepThreads() argument
21 RunLockStepThreadsWithSize(window, kPBufferSize, kPBufferSize, threadCount, threadFuncs); in RunLockStepThreads()
27 size_t threadCount, in RunLockStepThreadsWithSize() argument
38 std::vector<EGLSurface> surfaces(threadCount); in RunLockStepThreadsWithSize()
39 std::vector<EGLContext> contexts(threadCount); in RunLockStepThreadsWithSize()
42 for (size_t threadIndex = 0; threadIndex < threadCount; ++threadIndex) in RunLockStepThreadsWithSize()
57 std::vector<std::thread> threads(threadCount); in RunLockStepThreadsWithSize()
60 for (size_t threadIndex = 0; threadIndex < threadCount; ++threadIndex) in RunLockStepThreadsWithSize()
67 for (size_t threadIndex = 0; threadIndex < threadCount; ++threadIndex) in RunLockStepThreadsWithSize()
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DDeviceMetricDataFuncTest.java59 // flakyness, sticking to one value of threadCount will cause flakyness. in testAddToMetricsMultiThreaded_success()
60 for (int threadCount = 10; threadCount <= 200; threadCount += 10) { in testAddToMetricsMultiThreaded_success()
61 testAddToMetricsMultiThreaded(threadCount); in testAddToMetricsMultiThreaded_success()
65 private void testAddToMetricsMultiThreaded(int threadCount) in testAddToMetricsMultiThreaded() argument
90 List<Callable<HashMap<String, Metric>>> tasks = Collections.nCopies(threadCount, task); in testAddToMetricsMultiThreaded()
93 ExecutorService executorService = Executors.newFixedThreadPool(threadCount); in testAddToMetricsMultiThreaded()
106 assertEquals(threadCount, metricsData.size()); in testAddToMetricsMultiThreaded()
/aosp_15_r20/external/testng/src/test/java/test/thread/
H A DSequentialTest.java44 public void verifySequential(int threadCount) { in verifySequential() argument
45 runTest(threadCount, in verifySequential()
51 public void verifySingleThreaded(int threadCount) { in verifySingleThreaded() argument
52 runTest(threadCount, in verifySingleThreaded()
58 private void runTest(int threadCount, String... classes) { in runTest() argument
65 setThreadCount(threadCount); in runTest()
90 Assert.assertEquals(verifyMap.size(), threadCount); in runTest() local
92 ppp("COUNT:" + threadCount + " THREAD ID'S:" + ids[0] + " " + ids[1] + " " + ids[2]); in runTest()
/aosp_15_r20/external/OpenCL-CTS/test_conformance/half/
H A DTest_vStoreHalf.cpp871 cl_uint threadCount = GetThreadCount(); in Test_vStoreHalf_private() local
878 fref.count = (blockCount + threadCount - 1) / threadCount; in Test_vStoreHalf_private()
886 fchk.count = (blockCount + threadCount - 1) / threadCount; in Test_vStoreHalf_private()
893 dref.count = (blockCount + threadCount - 1) / threadCount; in Test_vStoreHalf_private()
901 dchk.count = (blockCount + threadCount - 1) / threadCount; in Test_vStoreHalf_private()
910 ThreadPool_Do(ReferenceF, threadCount, &fref); in Test_vStoreHalf_private()
924 ThreadPool_Do(ReferenceD, threadCount, &dref); in Test_vStoreHalf_private()
991 error = ThreadPool_Do(CheckF, threadCount, &fchk); in Test_vStoreHalf_private()
1044 error = ThreadPool_Do(CheckD, threadCount, &dchk); in Test_vStoreHalf_private()
1717 cl_uint threadCount = GetThreadCount(); in Test_vStoreaHalf_private() local
[all …]
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DObjectTest.java145 final int threadCount = 20; in test_notify() local
147 for (int i = 0; i < threadCount; ++i) { in test_notify()
158 if (ready == threadCount) { in test_notify()
163 ready, threadCount); in test_notify()
164 for (int i = 1; i <= threadCount; ++i) { in test_notify()
215 final int threadCount = 20; in test_notifyAll() local
216 for (int i = 0; i < threadCount; ++i) { in test_notifyAll()
227 if (ready == threadCount) { in test_notifyAll()
233 assertEquals("Not all launched threads are waiting.", threadCount, ready); in test_notifyAll()
240 for (int i = 0; finished < threadCount && i < finishedWaitSecs; ++i) { in test_notifyAll()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DThreadPool.cpp26 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument
28 // Create ThreadCount threads that will loop forever, wait on QueueCondition in ThreadPool()
30 Threads.reserve(ThreadCount); in ThreadPool()
31 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool()
113 // No threads are launched, issue a warning if ThreadCount is not 0
114 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument
116 if (ThreadCount) { in ThreadPool()
117 errs() << "Warning: request a ThreadPool with " << ThreadCount in ThreadPool()
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/lib/event_engine/thread_pool/
Dwork_stealing_thread_pool.cc343 ThreadCount::AutoThreadCount auto_busy{pool_->thread_count(), in Step()
392 ThreadCount::AutoThreadCount auto_busy{pool_->thread_count(), in Step()
402 ThreadCount::AutoThreadCount auto_busy{pool_->thread_count(), in FinishDraining()
425 // -------- WorkStealingThreadPool::ThreadCount --------
427 void WorkStealingThreadPool::ThreadCount::Add(CounterType counter_type) { in Add()
431 void WorkStealingThreadPool::ThreadCount::Remove(CounterType counter_type) { in Remove()
435 void WorkStealingThreadPool::ThreadCount::BlockUntilThreadCount( in BlockUntilThreadCount()
456 size_t WorkStealingThreadPool::ThreadCount::GetCount(CounterType counter_type) { in GetCount()
460 WorkStealingThreadPool::ThreadCount::AutoThreadCount::AutoThreadCount( in AutoThreadCount()
461 ThreadCount* counter, CounterType counter_type) in AutoThreadCount()
[all …]
Dwork_stealing_thread_pool.h80 // into the ThreadCount's private array.
86 class ThreadCount {
101 AutoThreadCount(ThreadCount* counter, CounterType counter_type);
105 ThreadCount* counter_;
173 ThreadCount* thread_count() { return &thread_count_; } in thread_count()
203 ThreadCount thread_count_;
239 ThreadCount::AutoThreadCount auto_thread_count_;
/aosp_15_r20/external/llvm/lib/Support/
H A DThreadPool.cpp26 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument
28 // Create ThreadCount threads that will loop forever, wait on QueueCondition in ThreadPool()
30 Threads.reserve(ThreadCount); in ThreadPool()
31 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool()
117 // No threads are launched, issue a warning if ThreadCount is not 0
118 ThreadPool::ThreadPool(unsigned ThreadCount) in ThreadPool() argument
120 if (ThreadCount) { in ThreadPool()
121 errs() << "Warning: request a ThreadPool with " << ThreadCount in ThreadPool()
/aosp_15_r20/external/dng_sdk/source/
H A Ddng_opcodes.h339 /// \param threadCount The number of threads to be used to perform the
342 /// \param threadCount Total number of threads that will be used for
359 uint32 /* threadCount */, in Prepare()
376 /// between 0 and threadCount - 1 for the threadCount passed to Prepare
441 /// \param threadCount The number of threads to be used to perform the
444 /// \param threadCount Total number of threads that will be used for
461 uint32 /* threadCount */, in Prepare()
479 /// between 0 and threadCount - 1 for the threadCount passed to Prepare
/aosp_15_r20/external/eigen/demos/mandelbrot/
H A Dmandelbrot.cpp42 const int threadcount = widget->threadcount; in render() local
48 for(int y = id; y < img_height; y += threadcount) in render()
134 for(int th = 0; th < threadcount; th++) in paintEvent()
136 for(int th = 0; th < threadcount; th++) in paintEvent()
147 std::cout << threadcount << " threads, " in paintEvent()
182 for(int th = 0; th < threadcount; th++) in mousePressEvent()
199 for(int th = 0; th < threadcount; th++) in mouseMoveEvent()
/aosp_15_r20/external/pytorch/test/profiler/
H A Dtest_cpp_thread.py86 ThreadCount = 20 # set to 2 for debugging variable in CppThreadTest
181 cpp.start_threads(self.ThreadCount, IterationCount, True)
184 "aten::add": [self.ThreadCount, "CPU"],
185 "user_function": [self.ThreadCount, "CUDA"],
195 cpp.start_threads(self.ThreadCount, IterationCount, False)
209 cpp.start_threads(self.ThreadCount, IterationCount, True)
212 "aten::add": [self.ThreadCount, "CPU"],
/aosp_15_r20/external/OpenCL-CTS/test_conformance/math_brute_force/
H A Dunary_double.cpp67 cl_uint threadCount; // Number of worker threads member
319 "ThreadCount:%2u\n", in Test()
321 job->threadCount); in Test()
344 test_info.threadCount = GetThreadCount(); in TestFunc_Double_Double()
346 / (sizeof(cl_double) * RoundUpToNextPowerOfTwo(test_info.threadCount)); in TestFunc_Double_Double()
365 test_info.tinfo.resize(test_info.threadCount); in TestFunc_Double_Double()
366 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestFunc_Double_Double()
406 BuildKernelInfo build_info{ test_info.threadCount, test_info.k, in TestFunc_Double_Double()
421 for (cl_uint i = 0; i < test_info.threadCount; i++) in TestFunc_Double_Double()
/aosp_15_r20/external/tensorflow/tensorflow/lite/swift/Sources/
H A DInterpreter.swift94 if let threadCount = $0.threadCount, threadCount > 0 { variable
95 TfLiteInterpreterOptionsSetNumThreads(cInterpreterOptions, Int32(threadCount))
320 if let threadCount = options.threadCount, threadCount > 0 { in configureXNNPack() variable
321 cXNNPackOptions.num_threads = Int32(threadCount) in configureXNNPack()
334 public var threadCount: Int? = nil variable
/aosp_15_r20/external/tensorflow/tensorflow/lite/swift/Tests/
H A DInterpreterTests.swift47 options.threadCount = 2 in testInitWithOptions()
231 XCTAssertNil(options.threadCount) in testInitWithDefaultValues()
238 options.threadCount = 2 in testInitWithCustomValues()
239 XCTAssertEqual(options.threadCount, 2) in testInitWithCustomValues()
253 options1.threadCount = 2 in testEquatable()
254 options2.threadCount = 2 in testEquatable()
257 options2.threadCount = 3 in testEquatable()
260 options2.threadCount = 2 in testEquatable()
/aosp_15_r20/frameworks/base/startop/apps/test/src/
H A DCPUIntensiveBenchmarks.java49 static void doSomeWork(int threadCount) { in doSomeWork() argument
50 mArray = new int[threadCount][ARRAY_SIZE]; in doSomeWork()
51 WorkerThread[] threads = new WorkerThread[threadCount]; in doSomeWork()
53 for (int i = 0; i < threadCount; ++i) { in doSomeWork()
57 for (int i = 0; i < threadCount; ++i) { in doSomeWork()
61 for (int i = 0; i < threadCount; ++i) { in doSomeWork()
/aosp_15_r20/external/xz-java/src/
H A DTestAllocSpeed.java85 final int threadCount = Integer.parseInt(args[2]); in main() local
87 if (threadCount < 1 || threadCount > 64) in main()
94 Thread[] threads = new Thread[threadCount]; in main()
95 for (int i = 0; i < threadCount; ++i) { in main()
100 for (int i = 0; i < threadCount; ++i) in main()
/aosp_15_r20/external/renderscript-intrinsics-replacement-toolkit/renderscript-toolkit/src/main/cpp/
H A DHistogram.cpp44 uint32_t threadCount, const Restriction* restriction);
62 uint32_t threadCount, const float* coefficients,
71 uint32_t threadCount, const Restriction* restriction) in HistogramTask() argument
74 mSums(256 * paddedSize(vectorSize) * threadCount) {
75 mThreadCount = threadCount;
153 uint32_t threadCount, const float* coefficients, in HistogramDotTask() argument
155 : Task{sizeX, sizeY, vectorSize, true, restriction}, mIn{in}, mSums(256 * threadCount, 0) { in HistogramDotTask()
156 mThreadCount = threadCount;
/aosp_15_r20/frameworks/rs/toolkit/
H A DHistogram.cpp45 uint32_t threadCount, const Restriction* restriction);
63 uint32_t threadCount, const float* coefficients,
72 uint32_t threadCount, const Restriction* restriction) in HistogramTask() argument
75 mSums(256 * paddedSize(vectorSize) * threadCount) {
76 mThreadCount = threadCount;
154 uint32_t threadCount, const float* coefficients, in HistogramDotTask() argument
156 : Task{sizeX, sizeY, vectorSize, true, restriction}, mIn{in}, mSums(256 * threadCount, 0) { in HistogramDotTask()
157 mThreadCount = threadCount;
/aosp_15_r20/external/oj-libjdwp/src/share/back/
H A DThreadGroupReferenceImpl.c103 jint threadCount; in children() local
109 &threadCount,&theThreads, in children()
118 threadCount = filterDebugThreads(theThreads, threadCount); in children()
120 (void)outStream_writeInt(out, threadCount); in children()
121 for (i = 0; i < threadCount; i++) { in children()

12345678910>>...23