Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DThreading.cpp50 unsigned llvm::hardware_concurrency() { return 1; } in hardware_concurrency() function in llvm
72 return std::thread::hardware_concurrency(); in heavyweight_hardware_concurrency()
76 unsigned llvm::hardware_concurrency() { in hardware_concurrency() function in llvm
83 if (unsigned Val = std::thread::hardware_concurrency()) in hardware_concurrency()
DParallel.cpp66 explicit ThreadPoolExecutor(unsigned ThreadCount = hardware_concurrency()) in ThreadPoolExecutor()
DThreadPool.cpp25 ThreadPool::ThreadPool() : ThreadPool(hardware_concurrency()) {} in ThreadPool()
/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 __anon769080da0202()
48 [](work w) -> int {return w.index % std::thread::hardware_concurrency();}, in __anon769080da0302()
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 __anon769080da0a02()
/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-7.0/llvm/unittests/Support/
DThreading.cpp22 ASSERT_LE(Num, thread::hardware_concurrency()); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
Dthread.h46 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency() function
DThreading.h140 unsigned hardware_concurrency();
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Dthread.h60 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency() function
/external/llvm/include/llvm/Support/
Dthread.h60 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency() function
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DThreading.cpp127 return thread::hardware_concurrency(); in heavyweight_hardware_concurrency()
/external/tensorflow/tensorflow/stream_executor/host/
Dhost_platform.cc39 return std::thread::hardware_concurrency(); in VisibleDeviceCount()
/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/libkmsxx/kms++util/src/
Dtestpat.cpp165 unsigned num_threads = thread::hardware_concurrency(); in draw_test_pattern_impl()
/external/tensorflow/tensorflow/core/platform/posix/
Dport.cc74 unsigned int count = std::thread::hardware_concurrency(); in NumSchedulableCPUs()
/external/libcxx/include/
Dthread47 static unsigned hardware_concurrency() noexcept;
332 static unsigned hardware_concurrency() _NOEXCEPT;
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
Ddsymutil.cpp346 Options.Threads = llvm::thread::hardware_concurrency(); in getOptions()
/external/llvm/tools/llvm-cov/
DCodeCoverage.cpp551 ThreadCount = std::thread::hardware_concurrency(); in show()
/external/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp67 cl::init(std::thread::hardware_concurrency()));
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp260 std::min(hardware_concurrency(), unsigned((Inputs.size() + 1) / 2)); in mergeInstrProfile()
/external/llvm/tools/gold/
Dgold-plugin.cpp1220 : thread::hardware_concurrency(); in thinLTOBackends()