Home
last modified time | relevance | path

Searched refs:hardware_concurrency (Results 1 – 25 of 42) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DThreading.cpp50 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()
DThreadPool.cpp24 ThreadPool::ThreadPool() : ThreadPool(hardware_concurrency()) {} in ThreadPool()
DParallel.cpp42 explicit ThreadPoolExecutor(unsigned ThreadCount = hardware_concurrency()) { in ThreadPoolExecutor()
/external/gwp_asan/gwp_asan/tests/
Dthread_contention.cpp50 if (std::thread::hardware_concurrency() < NumThreads) { in runThreadContentionTest()
51 NumThreads = std::thread::hardware_concurrency(); in runThreadContentionTest()
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dsysinfo.cc132 const unsigned hardware_concurrency = Win32NumCPUs(); in GetNumCPUs()
133 return hardware_concurrency ? hardware_concurrency : 1; in GetNumCPUs()
140 return std::thread::hardware_concurrency(); in GetNumCPUs()
/external/abseil-cpp/absl/base/internal/
Dsysinfo.cc132 const unsigned hardware_concurrency = Win32NumCPUs(); in GetNumCPUs()
133 return hardware_concurrency ? hardware_concurrency : 1; in GetNumCPUs()
140 return std::thread::hardware_concurrency(); in GetNumCPUs()
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dsysinfo.cc132 const unsigned hardware_concurrency = Win32NumCPUs(); in GetNumCPUs()
133 return hardware_concurrency ? hardware_concurrency : 1; in GetNumCPUs()
140 return std::thread::hardware_concurrency(); in GetNumCPUs()
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/
Dgroup_by.cpp39 … auto total = rxcpp::observable<>::range(0, (2 * std::thread::hardware_concurrency()) - 1).
42 … static const int chunk = 100000000 / (2 * std::thread::hardware_concurrency()); in __anonfd9f163d0202()
48 [](work w) -> int {return w.index % std::thread::hardware_concurrency();}, in __anonfd9f163d0302()
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 __anonfd9f163d0a02()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/schedulers/
Drx-eventloop.hpp77 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/libcxx/src/
Dthread.cpp78 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/
Dhardware_concurrency.pass.cpp23 assert(std::thread::hardware_concurrency() > 0); in main()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
Dthread.h45 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency() function
DThreading.h159 unsigned hardware_concurrency();
/external/llvm/include/llvm/Support/
Dthread.h60 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Dthread.h60 static unsigned hardware_concurrency() { return 1; } in hardware_concurrency() function
/external/openscreen/cast/standalone_sender/
Dstreaming_video_encoder.h39 std::min(std::max<int>(std::thread::hardware_concurrency(), 1), 8);
/external/angle/src/libANGLE/
DWorkerThread.cpp171 mMaxThreads = (maxThreads == 0xFFFFFFFF ? std::thread::hardware_concurrency() : maxThreads); in setMaxThreads()
333 new AsyncWorkerPool(std::thread::hardware_concurrency())); in Create()
/external/pthreadpool/bench/
Dlatency.cc8 const int max_threads = std::thread::hardware_concurrency(); in SetNumberOfThreads()
/external/tensorflow/tensorflow/stream_executor/host/
Dhost_platform.cc39 return std::thread::hardware_concurrency(); in VisibleDeviceCount()
/external/ComputeLibrary/src/runtime/
DCPUUtils.cpp345 max_cpus = std::thread::hardware_concurrency(); in get_max_cpus()
462 …num_threads_hint = cpu_part_occurrence_map.empty() ? std::thread::hardware_concurrency() : min_com… in get_threads_hint()
/external/llvm/lib/Support/
DThreadPool.cpp24 ThreadPool::ThreadPool() : ThreadPool(std::thread::hardware_concurrency()) {} in ThreadPool()
/external/eigen/unsupported/test/
Dcxx11_eventcount.cpp81 const int kThreads = std::thread::hardware_concurrency(); in test_stress_eventcount()
/external/openscreen/cast/standalone_receiver/
Ddecoder.cc149 std::min(std::max<int>(std::thread::hardware_concurrency(), 1), 8); in Initialize()
/external/renderscript-intrinsics-replacement-toolkit/renderscript-toolkit/src/main/cpp/
DTaskProcessor.cpp111 : std::min(6u, std::thread::hardware_concurrency() - 1)} {
/external/libkmsxx/kms++util/src/
Dtestpat.cpp178 unsigned num_threads = thread::hardware_concurrency(); in draw_test_pattern_impl()

12