[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [42772] trunk/blender/intern/cycles/device /device_cuda.cpp: Cycles/CUDA:
Thomas Dinges
blender at dingto.org
Tue Dec 20 19:59:20 CET 2011
Revision: 42772
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42772
Author: dingto
Date: 2011-12-20 18:59:10 +0000 (Tue, 20 Dec 2011)
Log Message:
-----------
Cycles/CUDA:
* Rename shader model to compute capability in error messages.
Modified Paths:
--------------
trunk/blender/intern/cycles/device/device_cuda.cpp
Modified: trunk/blender/intern/cycles/device/device_cuda.cpp
===================================================================
--- trunk/blender/intern/cycles/device/device_cuda.cpp 2011-12-20 17:36:56 UTC (rev 42771)
+++ trunk/blender/intern/cycles/device/device_cuda.cpp 2011-12-20 18:59:10 UTC (rev 42772)
@@ -221,7 +221,7 @@
cuDeviceComputeCapability(&major, &minor, cuDevId);
if(major <= 1 && minor <= 2) {
- cuda_error(string_printf("CUDA device supported only with shader model 1.3 or up, found %d.%d.", major, minor));
+ cuda_error(string_printf("CUDA device supported only with compute capability 1.3 or up, found %d.%d.", major, minor));
return false;
}
}
@@ -253,9 +253,9 @@
#if defined(WITH_CUDA_BINARIES) && defined(_WIN32)
if(major <= 1 && minor <= 2)
- cuda_error(string_printf("CUDA device supported only with shader model 1.3 or up, found %d.%d.", major, minor));
+ cuda_error(string_printf("CUDA device supported only compute capability 1.3 or up, found %d.%d.", major, minor));
else
- cuda_error(string_printf("CUDA binary kernel for this graphics card shader model (%d.%d) not found.", major, minor));
+ cuda_error(string_printf("CUDA binary kernel for this graphics card compute capability (%d.%d) not found.", major, minor));
return "";
#else
/* if not, find CUDA compiler */
More information about the Bf-blender-cvs
mailing list