diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-15 16:10:28 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-15 16:11:02 +0300 |
commit | 2b97ad348cae6258d33e7bc23bb93a3f1cd59fe6 (patch) | |
tree | 215eda92f53204a4410adf0c9c4dda4f71acb4ab /intern/cycles/device/device_opencl.cpp | |
parent | 32c6d92cb0dadd3cf2a1215b7738c009b184596e (diff) |
Cycles: Missed this in the previous commit
Diffstat (limited to 'intern/cycles/device/device_opencl.cpp')
-rw-r--r-- | intern/cycles/device/device_opencl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp index 8df83116195..19f50fa103a 100644 --- a/intern/cycles/device/device_opencl.cpp +++ b/intern/cycles/device/device_opencl.cpp @@ -140,6 +140,9 @@ bool opencl_kernel_use_split(const string& platform_name, { return true; } + if(platform_name == "Apple" && device_type == CL_DEVICE_TYPE_GPU) { + return true; + } return false; } |