/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Threading.cpp | 50 unsigned llvm::hardware_concurrency() { return 1; } in hardware_concurrency() function in llvm 91 return std::thread::hardware_concurrency(); in heavyweight_hardware_concurrency() 95 unsigned llvm::hardware_concurrency() { in hardware_concurrency() function in llvm 102 if (unsigned Val = std::thread::hardware_concurrency()) in hardware_concurrency()
|
D | ThreadPool.cpp | 24 ThreadPool::ThreadPool() : ThreadPool(hardware_concurrency()) {} in ThreadPool()
|
D | Parallel.cpp | 42 explicit ThreadPoolExecutor(unsigned ThreadCount = hardware_concurrency()) { in ThreadPoolExecutor()
|
/external/llvm-project/llvm/unittests/Support/ |
D | TaskQueueTest.cpp | 25 ThreadPool TP(hardware_concurrency(1)); in TEST_F() 69 ThreadPool TP(hardware_concurrency(1)); in TEST_F() 99 ThreadPool TP(hardware_concurrency(1)); in TEST_F()
|
D | Threading.cpp | 25 hardware_concurrency().compute_thread_count()); in TEST()
|
/external/llvm-project/compiler-rt/lib/gwp_asan/tests/ |
D | thread_contention.cpp | 50 if (std::thread::hardware_concurrency() < NumThreads) { in runThreadContentionTest() 51 NumThreads = std::thread::hardware_concurrency(); in runThreadContentionTest()
|
/external/gwp_asan/gwp_asan/tests/ |
D | thread_contention.cpp | 50 if (std::thread::hardware_concurrency() < NumThreads) { in runThreadContentionTest() 51 NumThreads = std::thread::hardware_concurrency(); in runThreadContentionTest()
|
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/ |
D | group_by.cpp | 39 … auto total = rxcpp::observable<>::range(0, (2 * std::thread::hardware_concurrency()) - 1). 42 … static const int chunk = 100000000 / (2 * std::thread::hardware_concurrency()); in __anon39cb25110202() 48 [](work w) -> int {return w.index % std::thread::hardware_concurrency();}, in __anon39cb25110302() 118 … auto total = rxcpp::observable<>::range(0, (2 * std::thread::hardware_concurrency()) - 1). 121 … static const int chunk = 100000000 / (2 * std::thread::hardware_concurrency()); in __anon39cb25110a02()
|
/external/llvm-project/llvm/lib/Support/ |
D | Threading.cpp | 138 return llvm::hardware_concurrency(); in get_threadpool_strategy() 150 ThreadPoolStrategy S = llvm::hardware_concurrency(); in get_threadpool_strategy()
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/schedulers/ |
D | rx-eventloop.hpp | 77 auto remaining = std::max(std::thread::hardware_concurrency(), unsigned(4)); 87 auto remaining = std::max(std::thread::hardware_concurrency(), unsigned(4)); in event_loop()
|
/external/llvm-project/libcxx/src/ |
D | thread.cpp | 73 thread::hardware_concurrency() _NOEXCEPT in hardware_concurrency() function in thread 94 # warning hardware_concurrency not yet implemented in hardware_concurrency()
|
/external/libcxx/src/ |
D | thread.cpp | 78 thread::hardware_concurrency() _NOEXCEPT in hardware_concurrency() function in thread 105 # warning hardware_concurrency not yet implemented in hardware_concurrency()
|
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.static/ |
D | hardware_concurrency.pass.cpp | 23 assert(std::thread::hardware_concurrency() > 0); in main()
|
/external/llvm-project/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.static/ |
D | hardware_concurrency.pass.cpp | 24 assert(std::thread::hardware_concurrency() > 0); in main()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | thread.h | 45 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency() function
|
D | Threading.h | 159 unsigned hardware_concurrency();
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | thread.h | 45 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency() function
|
D | ThreadPool.h | 46 ThreadPool(ThreadPoolStrategy S = hardware_concurrency());
|
/external/llvm/include/llvm/Support/ |
D | thread.h | 60 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency() function
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | thread.h | 60 static unsigned hardware_concurrency() { return 1; } in hardware_concurrency() function
|
/external/angle/src/libANGLE/ |
D | WorkerThread.cpp | 171 mMaxThreads = (maxThreads == 0xFFFFFFFF ? std::thread::hardware_concurrency() : maxThreads); in setMaxThreads() 333 new AsyncWorkerPool(std::thread::hardware_concurrency())); in Create()
|
/external/pthreadpool/bench/ |
D | latency.cc | 8 const int max_threads = std::thread::hardware_concurrency(); in SetNumberOfThreads()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | ParallelCG.cpp | 56 ThreadPool CodegenThreadPool(hardware_concurrency(OSs.size())); in splitCodeGen()
|
/external/tensorflow/tensorflow/stream_executor/host/ |
D | host_platform.cc | 39 return std::thread::hardware_concurrency(); in VisibleDeviceCount()
|
/external/openscreen/cast/standalone_sender/ |
D | streaming_vp8_encoder.h | 62 std::min(std::max<int>(std::thread::hardware_concurrency(), 1), 8);
|