diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-12-13 02:51:35 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-12-13 02:51:35 +0400 |
commit | 9e01abf7779a9272530d392767bdf9630544d519 (patch) | |
tree | 268d1a4e92e87ae6a9517cc1b9fee07822a95fc6 /intern/cycles/device/device_multi.cpp | |
parent | 94bc2b0cffd27dc74f428aee86ca9e2782a14e0a (diff) |
Cycles: require Experimental to be set to enable CUDA on cards with shader model
lower than 1.3, since we're not officially supporting these. We're already not
providing CUDA binaries for these, so better make it clear when compiling from
source too.
Diffstat (limited to 'intern/cycles/device/device_multi.cpp')
-rw-r--r-- | intern/cycles/device/device_multi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/device/device_multi.cpp b/intern/cycles/device/device_multi.cpp index 128c80ac396..fc5348ad168 100644 --- a/intern/cycles/device/device_multi.cpp +++ b/intern/cycles/device/device_multi.cpp @@ -132,10 +132,10 @@ public: return desc.str(); } - bool load_kernels() + bool load_kernels(bool experimental) { foreach(SubDevice& sub, devices) - if(!sub.device->load_kernels()) + if(!sub.device->load_kernels(experimental)) return false; return true; |