diff options
Diffstat (limited to 'intern/cycles/device/opencl/opencl.h')
-rw-r--r-- | intern/cycles/device/opencl/opencl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/device/opencl/opencl.h b/intern/cycles/device/opencl/opencl.h index 4ecf71e116e..2a4e07419ac 100644 --- a/intern/cycles/device/opencl/opencl.h +++ b/intern/cycles/device/opencl/opencl.h @@ -374,6 +374,8 @@ public: /* Get the program file name to compile (*.cl) for the given kernel */ const string get_opencl_program_filename(const string& kernel_name); string get_build_options(const DeviceRequestedFeatures& requested_features, const string& opencl_program_name); + /* Enable the default features to reduce recompilation events */ + void enable_default_features(DeviceRequestedFeatures& features); void mem_alloc(device_memory& mem); void mem_copy_to(device_memory& mem); |