commit | c3f34a43ffb5d52ee4a4e9f7b1bf4c6c002aeebb | [log] [tgz] |
---|---|---|
author | Jenkins <bsgcomp@matben01-vm-clbuild1.eu.iaas.arm.com> | Fri Mar 02 12:38:09 2018 +0000 |
committer | Anthony Barbier <anthony.barbier@arm.com> | Fri Mar 02 15:37:57 2018 +0000 |
tree | 4bd397554f4a784e1fbb1e1eb214cb958e8f83df | |
parent | 06ea048f062a50404b1b3998a61a45449c2d1f0f [diff] [blame] |
arm_compute v18.03 Change-Id: I8f9a2a9d32a6cab019b8504d313216f28671f9f5
diff --git a/src/runtime/CPP/CPPScheduler.cpp b/src/runtime/CPP/CPPScheduler.cpp index 4e4dd87..168ed6e 100644 --- a/src/runtime/CPP/CPPScheduler.cpp +++ b/src/runtime/CPP/CPPScheduler.cpp
@@ -163,7 +163,7 @@ void CPPScheduler::set_num_threads(unsigned int num_threads) { - _num_threads = num_threads == 0 ? std::thread::hardware_concurrency() : num_threads; + _num_threads = num_threads == 0 ? num_threads_hint() : num_threads; _threads.resize(_num_threads - 1); }