diff options
author | Thomas Dinges <blender@dingto.org> | 2013-05-09 20:16:41 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-05-09 20:16:41 +0400 |
commit | 522eeaa6a0cd41f9193e42afb1907743101810c9 (patch) | |
tree | b0365160a673d700ae5246736a2872e7a3c2afe5 | |
parent | 168bcfb46b3549b71126a246b2d10e47dd1b5b38 (diff) |
Cycles / OpenCL:
* Remove old comment for sm_13 cards and really check for OpenCL 1.1.
-rw-r--r-- | intern/cycles/device/device_opencl.cpp | 5 |
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; } |