Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-05-09 20:16:41 +0400
committerThomas Dinges <blender@dingto.org>2013-05-09 20:16:41 +0400
commit522eeaa6a0cd41f9193e42afb1907743101810c9 (patch)
treeb0365160a673d700ae5246736a2872e7a3c2afe5 /intern/cycles/device/device_opencl.cpp
parent168bcfb46b3549b71126a246b2d10e47dd1b5b38 (diff)
Cycles / OpenCL:
* Remove old comment for sm_13 cards and really check for OpenCL 1.1.
Diffstat (limited to 'intern/cycles/device/device_opencl.cpp')
-rw-r--r--intern/cycles/device/device_opencl.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index a9b062474f7..73d6ae47190 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -236,7 +236,7 @@ public:
{
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 @@ public:
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;
}