Cycles: Make CUDA 7.5 officially recommended
[blender-staging.git] / intern / cycles / device / device_cuda.cpp
index 98997ae0968710d17ac0980e955a1ffa629e36f8..80c8cb1e59229b7f75fa765b00f45257d231b375 100644 (file)
@@ -310,11 +310,11 @@ public:
                        return "";
                }
                if(cuda_version < 60) {
-                       printf("Unsupported CUDA version %d.%d detected, you need CUDA 6.5.\n", cuda_version/10, cuda_version%10);
+                       printf("Unsupported CUDA version %d.%d detected, you need CUDA 7.5.\n", cuda_version/10, cuda_version%10);
                        return "";
                }
-               else if(cuda_version != 65)
-                       printf("CUDA version %d.%d detected, build may succeed but only CUDA 6.5 is officially supported.\n", cuda_version/10, cuda_version%10);
+               else if(cuda_version != 75)
+                       printf("CUDA version %d.%d detected, build may succeed but only CUDA 7.5 is officially supported.\n", cuda_version/10, cuda_version%10);
 
                /* compile */
                string kernel = path_join(kernel_path, path_join("kernels", path_join("cuda", "kernel.cu")));