commit | abd6d04992e4b7c903ed2c1278d744e73ac74334 | [log] [tgz] |
---|---|---|
author | Jason Sams <jsams@google.com> | Wed Aug 01 14:49:53 2012 -0700 |
committer | Jason Sams <jsams@google.com> | Wed Aug 01 14:49:53 2012 -0700 |
tree | 58c63af0799903c8cbf174cbbb66b14fb3a808a7 | |
parent | 378d30b1da622e0e75e551e95fafb18ff3a3f88e [diff] |
Don't cap max-threads to current cpu count. Change-Id: Ie437c0eccff0de0d9175633e004449211c141f6a
diff --git a/driver/rsdCore.cpp b/driver/rsdCore.cpp index a730acc..33ab49a 100644 --- a/driver/rsdCore.cpp +++ b/driver/rsdCore.cpp
@@ -233,7 +233,7 @@ int cpu = sysconf(_SC_NPROCESSORS_ONLN); - if(rsc->props.mDebugMaxThreads && (cpu > (int)rsc->props.mDebugMaxThreads)) { + if(rsc->props.mDebugMaxThreads) { cpu = rsc->props.mDebugMaxThreads; } if (cpu < 2) {