Home
last modified time | relevance | path

Searched defs:numThreads (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/aosp_15_r20/external/zstd/lib/common/
H A Dpool.c107 POOL_ctx* ZSTD_createThreadPool(size_t numThreads) { in ZSTD_createThreadPool()
111 POOL_ctx* POOL_create(size_t numThreads, size_t queueSize) { in POOL_create()
115 POOL_ctx* POOL_create_advanced(size_t numThreads, size_t queueSize, in POOL_create_advanced()
215 static int POOL_resize_internal(POOL_ctx* ctx, size_t numThreads) in POOL_resize_internal()
244 int POOL_resize(POOL_ctx* ctx, size_t numThreads) in POOL_resize()
326 POOL_ctx* POOL_create(size_t numThreads, size_t queueSize) { in POOL_create()
331 POOL_create_advanced(size_t numThreads, size_t queueSize, ZSTD_customMem customMem) in POOL_create_advanced()
349 int POOL_resize(POOL_ctx* ctx, size_t numThreads) { in POOL_resize()
/aosp_15_r20/external/deqp/framework/delibs/decpp/
H A DdeSpinBarrier.cpp34 SpinBarrier::SpinBarrier(int32_t numThreads) in SpinBarrier()
49 void SpinBarrier::reset(uint32_t numThreads) in reset()
60 …rrier::WaitMode getWaitMode(SpinBarrier::WaitMode requested, uint32_t numCores, int32_t numThreads) in getWaitMode()
175 TestThread(SpinBarrier &barrier, volatile int32_t *sharedVar, int numThreads, int threadNdx) in TestThread()
233 void multiThreadTest(int numThreads) in multiThreadTest()
275 …TestExitThread(SpinBarrier &barrier, int numThreads, int threadNdx, SpinBarrier::WaitMode waitMode) in TestExitThread()
308 void multiThreadRemoveTest(int numThreads, SpinBarrier::WaitMode waitMode) in multiThreadRemoveTest()
/aosp_15_r20/external/aws-crt-java/src/main/java/software/amazon/awssdk/crt/io/
H A DEventLoopGroup.java26 public EventLoopGroup(int numThreads) throws CrtRuntimeException { in EventLoopGroup()
37 public EventLoopGroup(int cpuGroup, int numThreads) throws CrtRuntimeException { in EventLoopGroup()
85 public static void setStaticDefaultNumThreads(int numThreads) { in setStaticDefaultNumThreads()
135 …private static native long eventLoopGroupNew(EventLoopGroup thisObj, int numThreads) throws CrtRun… in eventLoopGroupNew()
136 …ntLoopGroupNewPinnedToCpuGroup(EventLoopGroup thisObj, int cpuGroup, int numThreads) throws CrtRun… in eventLoopGroupNewPinnedToCpuGroup()
/aosp_15_r20/external/pytorch/caffe2/utils/threadpool/
H A DThreadPool.cc48 auto numThreads = 1U; in getDefaultNumThreads() local
136 ThreadPool* ThreadPool::createThreadPool(int numThreads) { in createThreadPool()
147 ThreadPoolImpl::ThreadPoolImpl(int numThreads) in ThreadPoolImpl()
162 void ThreadPoolImpl::setNumThreads(size_t numThreads) { in setNumThreads()
170 const auto numThreads = numThreads_.load(std::memory_order_relaxed); in run() local
/aosp_15_r20/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/model/
H A DModel.java57 private final int numThreads; field in Model.Options
62 private int numThreads = 1; field in Model.Options.Builder
69 public Builder setNumThreads(int numThreads) { in setNumThreads()
104 private int numThreads = 1; field in Model.Builder
130 public Builder setNumThreads(int numThreads) { in setNumThreads()
/aosp_15_r20/external/aws-crt-java/src/test/java/software/amazon/awssdk/crt/test/
H A DHttpClientConnectionManagerTest.java44 …private HttpClientConnectionManager createConnectionManager(URI uri, int numThreads, int numConnec… in createConnectionManager()
75 …nnections(HttpClientConnectionManager connPool, HttpRequest request, int numThreads, int numReques… in testParallelConnections()
147 public void testParallelRequests(int numThreads, int numRequests) throws Exception { in testParallelRequests()
152 …try (HttpClientConnectionManager connectionPool = createConnectionManager(uri, numThreads, NUM_CON… in testParallelRequests() argument
161 … public void testParallelRequestsWithLeakCheck(int numThreads, int numRequests) throws Exception { in testParallelRequestsWithLeakCheck()
H A DHttp2StreamManagerTest.java81 …te void testParallelStreams(Http2StreamManager streamManager, Http2Request request, int numThreads, in testParallelStreams()
143 public void testParallelRequests(int numThreads, int numRequests) throws Exception { in testParallelRequests()
157 … public void testParallelRequestsWithLeakCheck(int numThreads, int numRequests) throws Exception { in testParallelRequestsWithLeakCheck()
/aosp_15_r20/external/lzma/CPP/7zip/Common/
H A DMethodProps.h40 …ESULT ParseMtProp(const UString &name, const PROPVARIANT &prop, UInt32 numCPUs, UInt32 &numThreads) in ParseMtProp()
188 int numThreads = Get_NumThreads(); in Get_Lzma_NumThreads() local
200 int numThreads = Get_NumThreads(); in Get_Xz_NumThreads() local
249 int numThreads = Get_NumThreads(); in Get_BZip2_NumThreads() local
302 void AddProp_NumThreads(UInt32 numThreads) in AddProp_NumThreads()
H A DMethodProps.cpp110 HRESULT ParseMtProp2(const UString &name, const PROPVARIANT &prop, UInt32 &numThreads, bool &force) in ParseMtProp2()
659 static UInt64 GetMemoryUsage_LZMA(UInt32 dict, bool isBt, UInt32 numThreads) in GetMemoryUsage_LZMA()
692 const UInt32 numThreads = Get_Lzma_NumThreads(); in Get_Lzma_MemUsage() local
/aosp_15_r20/external/zstd/tests/
H A DpoolTests.c43 static int testOrder(size_t numThreads, size_t queueSize) in testOrder()
75 static int testWait(size_t numThreads, size_t queueSize) { in testWait()
227 size_t numThreads; in main() local
/aosp_15_r20/external/pytorch/android/pytorch_android/src/main/java/org/pytorch/
H A DPyTorchAndroid.java40 public static void setNumThreads(int numThreads) { in setNumThreads()
49 private static native void nativeSetNumThreads(int numThreads); in nativeSetNumThreads()
/aosp_15_r20/external/jsoup/src/test/java/org/jsoup/integration/
H A DSessionIT.java26 int numThreads = 20; in multiThread() local
75 int numThreads = 20; in multiThreadWithoutNewRequestBlowsUp() local
/aosp_15_r20/bionic/benchmarks/
H A Dmalloc_rss_benchmark.cpp100 void StressSizeClass(size_t numThreads, size_t allocSize) { in StressSizeClass()
149 size_t numThreads = atoi(argv[1]); in main() local
/aosp_15_r20/external/deqp/framework/delibs/dethread/
H A DdeThreadTest.c626 static void runSingletonThreadedTest(int numThreads, int initTimeMs) in runSingletonThreadedTest()
664 int numThreads; in deSingleton_selfTest() member
673 int numThreads = cases[caseNdx].numThreads; in deSingleton_selfTest() local
/aosp_15_r20/external/lzma/CPP/7zip/Compress/
H A DXzDecoder.cpp57 const UInt32 numThreads = _numThreads; in Decode() local
137 Z7_COM7F_IMF(CComDecoder::SetNumberOfThreads(UInt32 numThreads)) in Z7_COM7F_IMF()
H A DLzma2Decoder.cpp108 UInt32 numThreads = _numThreads; in Z7_COM7F_IMF() local
198 Z7_COM7F_IMF(CDecoder::SetNumberOfThreads(UInt32 numThreads)) in Z7_COM7F_IMF()
/aosp_15_r20/external/swiftshader/third_party/marl/src/
H A Dnon_marl_bench.cpp59 auto const numThreads = Schedule::numThreads(state); in SingleQueueTaskExecutor() local
127 auto const numThreads = Schedule::numThreads(state); in MultiQueueTaskExecutor() local
/aosp_15_r20/external/zstd/contrib/pzstd/test/
H A DPzstdTest.cpp44 for (unsigned numThreads = 1; numThreads <= 2; ++numThreads) { in TEST() local
79 for (unsigned numThreads = 1; numThreads <= 16; numThreads *= 4) { in TEST() local
/aosp_15_r20/external/angle/src/common/
H A DWorkerThread.cpp116 AsyncWorkerPool::AsyncWorkerPool(size_t numThreads) : mDesiredThreadCount(numThreads) in AsyncWorkerPool()
280 std::shared_ptr<WorkerThreadPool> WorkerThreadPool::Create(size_t numThreads, in Create()
/aosp_15_r20/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
H A DInterpreterApi.java114 public Options setNumThreads(int numThreads) { in setNumThreads()
275 int numThreads = -1; field in InterpreterApi.Options
/aosp_15_r20/external/lzma/CPP/7zip/Archive/Common/
H A DHandlerOut.cpp144 …d CMultiMethodProps::SetMethodThreadsTo_IfNotFinded(CMethodProps &oneMethodInfo, UInt32 numThreads) in SetMethodThreadsTo_IfNotFinded()
149 void CMultiMethodProps::SetMethodThreadsTo_Replace(CMethodProps &oneMethodInfo, UInt32 numThreads) in SetMethodThreadsTo_Replace()
/aosp_15_r20/external/OpenCL-CTS/test_conformance/atomics/
H A Dtest_atomics.cpp1267 size_t numThreads = ((size_t)size + 31) / 32; in test_atomic_and_result_int() local
1281 size_t numThreads = ((size_t)size + 63) / 64; in test_atomic_and_result_long() local
1340 size_t numThreads = ((size_t)size + 31) / 32; in test_atomic_or_result_int() local
1354 size_t numThreads = ((size_t)size + 63) / 64; in test_atomic_or_result_long() local
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationInternallySynchronizedObjectsTests.cpp827 const uint32_t numThreads = clamp(deGetNumAvailableLogicalCores(), 4u, 32u); in iterate() local
829 const uint32_t numThreads = 2u; in iterate() local
964 const uint32_t numThreads = clamp(deGetNumAvailableLogicalCores(), 4u, 32u); in iterate() local
966 const uint32_t numThreads = 2u; in iterate() local
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/base/
H A DSuppliersTest.java359 final int numThreads = 3; in testSupplierThreadSafe() local
448 final int numThreads = 10; in testSynchronizedSupplierThreadSafe() local
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/base/
H A DSuppliersTest.java359 final int numThreads = 3; in testSupplierThreadSafe() local
448 final int numThreads = 10; in testSynchronizedSupplierThreadSafe() local

12345678910>>...12