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.
This commit is contained in:
Brecht Van Lommel
2011-12-12 22:51:35 +00:00
parent 94bc2b0cff
commit 9e01abf777
7 changed files with 32 additions and 11 deletions

View File

@@ -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;