[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [56631] trunk/blender/intern/cycles/device /device_opencl.cpp: Cycles / OpenCL:

Thomas Dinges blender at dingto.org
Thu May 9 18:16:42 CEST 2013


Revision: 56631
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=56631
Author:   dingto
Date:     2013-05-09 16:16:41 +0000 (Thu, 09 May 2013)
Log Message:
-----------
Cycles / OpenCL:
* Remove old comment for sm_13 cards and really check for OpenCL 1.1. 

Modified Paths:
--------------
    trunk/blender/intern/cycles/device/device_opencl.cpp

Modified: trunk/blender/intern/cycles/device/device_opencl.cpp
===================================================================
--- trunk/blender/intern/cycles/device/device_opencl.cpp	2013-05-09 15:28:38 UTC (rev 56630)
+++ trunk/blender/intern/cycles/device/device_opencl.cpp	2013-05-09 16:16:41 UTC (rev 56631)
@@ -236,7 +236,7 @@
 	{
 		char version[256];
 
-		int major, minor, req_major = 1, req_minor = 0;
+		int major, minor, req_major = 1, req_minor = 1;
 
 		clGetPlatformInfo(cpPlatform, CL_PLATFORM_VERSION, sizeof(version), &version, NULL);
 
@@ -262,9 +262,6 @@
 			return false;
 		}
 
-		/* we don't check CL_DEVICE_VERSION since for e.g. nvidia sm 1.3 cards this is
-		 * 1.0 even if the language features are there, just limited shared memory */
-
 		return true;
 	}
 




More information about the Bf-blender-cvs mailing list