[Bf-blender-cvs] [5af4e1ca155] master: Cycles: Only use CUDA 8.0 as officially supported one

Sergey Sharybin noreply at git.blender.org
Wed Mar 29 16:23:36 CEST 2017


Commit: 5af4e1ca1550b0574c7448a2ace5b3685b2cca33
Author: Sergey Sharybin
Date:   Wed Mar 29 15:06:47 2017 +0200
Branches: master
https://developer.blender.org/rB5af4e1ca1550b0574c7448a2ace5b3685b2cca33

Cycles: Only use CUDA 8.0 as officially supported one

This deprecates CUDA 7.5.

===================================================================

M	intern/cycles/device/device_cuda.cpp

===================================================================

diff --git a/intern/cycles/device/device_cuda.cpp b/intern/cycles/device/device_cuda.cpp
index 0927c15a850..ba3ca3c3e1e 100644
--- a/intern/cycles/device/device_cuda.cpp
+++ b/intern/cycles/device/device_cuda.cpp
@@ -345,15 +345,15 @@ public:
 			cuda_error_message("CUDA nvcc compiler version could not be parsed.");
 			return false;
 		}
-		if(cuda_version < 75) {
+		if(cuda_version < 80) {
 			printf("Unsupported CUDA version %d.%d detected, "
-			       "you need CUDA 7.5 or newer.\n",
+			       "you need CUDA 8.0 or newer.\n",
 			       major, minor);
 			return false;
 		}
-		else if(cuda_version != 75 && cuda_version != 80) {
+		else if(cuda_version != 80) {
 			printf("CUDA version %d.%d detected, build may succeed but only "
-			       "CUDA 7.5 and 8.0 are officially supported.\n",
+			       "CUDA 8.0 is officially supported.\n",
 			       major, minor);
 		}
 		return true;




More information about the Bf-blender-cvs mailing list