[Bf-blender-cvs] [2d26d1d] master: Cycles: Make CUDA aware of COMPUTE_50 (sm_50, Maxwell).

Thomas Dinges noreply at git.blender.org
Mon Feb 24 21:48:35 CET 2014


Commit: 2d26d1dbbd0e91c2fd7b6dd147ab54dbd7f73111
Author: Thomas Dinges
Date:   Mon Feb 24 21:47:45 2014 +0100
https://developer.blender.org/rB2d26d1dbbd0e91c2fd7b6dd147ab54dbd7f73111

Cycles: Make CUDA aware of COMPUTE_50 (sm_50, Maxwell).

If you have a Maxwell GPU and want to test, you have to use the CUDA Toolkit 6.0(RC) and enable sm_50 in scons/cmake.

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

M	intern/cycles/util/util_cuda.h

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

diff --git a/intern/cycles/util/util_cuda.h b/intern/cycles/util/util_cuda.h
index deb2ff9..0c80303 100644
--- a/intern/cycles/util/util_cuda.h
+++ b/intern/cycles/util/util_cuda.h
@@ -206,7 +206,8 @@ typedef enum CUjit_target_enum
 	CU_TARGET_COMPUTE_20,
 	CU_TARGET_COMPUTE_21,
 	CU_TARGET_COMPUTE_30,
-	CU_TARGET_COMPUTE_35
+	CU_TARGET_COMPUTE_35,
+	CU_TARGET_COMPUTE_50
 } CUjit_target;
 
 typedef enum CUjit_fallback_enum




More information about the Bf-blender-cvs mailing list