From 28cb4cb957a7e652e377974feb42a23fb6454e8e Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 16 Sep 2011 10:29:30 +0000 Subject: [PATCH] Cycles: reenable opencl binary caching on mac, it's not the cause of the problem. --- intern/cycles/device/device_opencl.cpp | 4 ---- 1 file changed, 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);