Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/util/util_debug.h
| Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Lines | struct OpenCL { | ||||
| }; | }; | ||||
| /* Requested device type. */ | /* Requested device type. */ | ||||
| DeviceType device_type; | DeviceType device_type; | ||||
| /* Use debug version of the kernel. */ | /* Use debug version of the kernel. */ | ||||
| bool debug; | bool debug; | ||||
| /* Use single program */ | |||||
| bool single_program; | |||||
| /* TODO(mai): Currently this is only for OpenCL, but we should have it implemented for all devices. */ | /* TODO(mai): Currently this is only for OpenCL, but we should have it implemented for all devices. */ | ||||
| /* Artificial memory limit in bytes (0 if disabled). */ | /* Artificial memory limit in bytes (0 if disabled). */ | ||||
| size_t mem_limit; | size_t mem_limit; | ||||
| }; | }; | ||||
| /* Get instance of debug flags registry. */ | /* Get instance of debug flags registry. */ | ||||
| static DebugFlags& get() | static DebugFlags& get() | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines | |||||