diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-09-16 14:29:30 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-09-16 14:29:30 +0400 |
commit | 28cb4cb957a7e652e377974feb42a23fb6454e8e (patch) | |
tree | d0805d2822483fabc7ddd8c21e8c80a637fe11a8 /intern/cycles/device/device_opencl.cpp | |
parent | 5f13b52c67c0ff49d0b49eb3d07697fb2b5700bd (diff) |
Cycles: reenable opencl binary caching on mac, it's not the cause of the problem.
Diffstat (limited to 'intern/cycles/device/device_opencl.cpp')
-rw-r--r-- | intern/cycles/device/device_opencl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp index b58dfe7f168..a41238ffe09 100644 --- a/intern/cycles/device/device_opencl.cpp +++ b/intern/cycles/device/device_opencl.cpp @@ -353,23 +353,19 @@ public: string clbin = string_printf("cycles_kernel_%s_%s.clbin", device_md5.c_str(), kernel_md5.c_str());; clbin = path_user_get(path_join("cache", clbin)); -#ifndef __APPLE__ if(path_exists(clbin)) { /* if exists already, try use it */ if(!load_binary(kernel_path, clbin)) return false; } else { -#endif /* compile kernel */ if(!compile_kernel(kernel_path, kernel_md5)) return false; -#ifndef __APPLE__ /* save binary for reuse */ save_binary(clbin); } -#endif /* find kernels */ ckPathTraceKernel = clCreateKernel(cpProgram, "kernel_ocl_path_trace", &ciErr); |