Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/device/opencl/opencl.h
| Show First 20 Lines • Show All 369 Lines • ▼ Show 20 Lines | public: | ||||
| string device_md5_hash(string kernel_custom_build_options = ""); | string device_md5_hash(string kernel_custom_build_options = ""); | ||||
| bool load_kernels(const DeviceRequestedFeatures& requested_features); | bool load_kernels(const DeviceRequestedFeatures& requested_features); | ||||
| /* Get the name of the opencl program for the given kernel */ | /* Get the name of the opencl program for the given kernel */ | ||||
| const string get_opencl_program_name(bool single_program, const string& kernel_name); | const string get_opencl_program_name(bool single_program, const string& kernel_name); | ||||
| /* Get the program file name to compile (*.cl) for the given kernel */ | /* Get the program file name to compile (*.cl) for the given kernel */ | ||||
| const string get_opencl_program_filename(bool single_program, const string& kernel_name); | const string get_opencl_program_filename(bool single_program, const string& kernel_name); | ||||
| string get_build_options(const DeviceRequestedFeatures& requested_features, const string& opencl_program_name); | string get_build_options(const DeviceRequestedFeatures& requested_features, const string& opencl_program_name); | ||||
| void enable_default_features(DeviceRequestedFeatures& features); | |||||
| void mem_alloc(device_memory& mem); | void mem_alloc(device_memory& mem); | ||||
| void mem_copy_to(device_memory& mem); | void mem_copy_to(device_memory& mem); | ||||
| void mem_copy_from(device_memory& mem, int y, int w, int h, int elem); | void mem_copy_from(device_memory& mem, int y, int w, int h, int elem); | ||||
| void mem_zero(device_memory& mem); | void mem_zero(device_memory& mem); | ||||
| void mem_free(device_memory& mem); | void mem_free(device_memory& mem); | ||||
| int mem_sub_ptr_alignment(); | int mem_sub_ptr_alignment(); | ||||
| ▲ Show 20 Lines • Show All 231 Lines • Show Last 20 Lines | |||||