Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-08-31 03:09:22 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-08-31 03:09:22 +0400
commit6785874e7adf5ef15e7a28b134b2bd4e8b3a8988 (patch)
tree12adcc0c7313c9376919cf748f3310f02b67a9c7 /intern/cycles/device/device_cuda.cpp
parentf477c0e535168b22509514e7421e6fc5ed5bf1ac (diff)
Fix #36137: cycles render not using all GPU's when the number of GPU's is larger
than the number of CPU threads
Diffstat (limited to 'intern/cycles/device/device_cuda.cpp')
-rw-r--r--intern/cycles/device/device_cuda.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/device/device_cuda.cpp b/intern/cycles/device/device_cuda.cpp
index a60512577cf..c1b5a8bfcea 100644
--- a/intern/cycles/device/device_cuda.cpp
+++ b/intern/cycles/device/device_cuda.cpp
@@ -37,7 +37,7 @@ CCL_NAMESPACE_BEGIN
class CUDADevice : public Device
{
public:
- TaskPool task_pool;
+ DedicatedTaskPool task_pool;
CUdevice cuDevice;
CUcontext cuContext;
CUmodule cuModule;
@@ -976,7 +976,7 @@ public:
void task_wait()
{
- task_pool.wait_work();
+ task_pool.wait();
}
void task_cancel()