Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/device/opencl/opencl_split.cpp
| Show First 20 Lines • Show All 321 Lines • ▼ Show 20 Lines | #undef ADD_SPLIT_KERNEL_SINGLE_PROGRAM | ||||
| bool is_split_kernel() | bool is_split_kernel() | ||||
| { | { | ||||
| return true; | return true; | ||||
| } | } | ||||
| protected: | protected: | ||||
| /* ** Those guys are for workign around some compiler-specific bugs ** */ | /* ** Those guys are for workign around some compiler-specific bugs ** */ | ||||
| string build_options_for_base_program( | string build_options_for_bake_program( | ||||
| const DeviceRequestedFeatures& requested_features) | const DeviceRequestedFeatures& requested_features) | ||||
| { | { | ||||
| return requested_features.get_build_options(); | return requested_features.get_build_options(); | ||||
| } | } | ||||
| friend class OpenCLSplitKernel; | friend class OpenCLSplitKernel; | ||||
| friend class OpenCLSplitKernelFunction; | friend class OpenCLSplitKernelFunction; | ||||
| }; | }; | ||||
| ▲ Show 20 Lines • Show All 273 Lines • Show Last 20 Lines | |||||