Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/device/opencl/opencl.h
| Show First 20 Lines • Show All 320 Lines • ▼ Show 20 Lines | private: | ||||
| string log, error_msg; | string log, error_msg; | ||||
| string compile_output; | string compile_output; | ||||
| map<ustring, cl_kernel> kernels; | map<ustring, cl_kernel> kernels; | ||||
| }; | }; | ||||
| DeviceSplitKernel *split_kernel; | DeviceSplitKernel *split_kernel; | ||||
| OpenCLProgram program_data_init; | |||||
| OpenCLProgram program_state_buffer_size; | |||||
| OpenCLProgram program_split; | OpenCLProgram program_split; | ||||
| OpenCLProgram program_path_init; | |||||
| OpenCLProgram program_scene_intersect; | |||||
| OpenCLProgram program_lamp_emission; | OpenCLProgram program_lamp_emission; | ||||
| OpenCLProgram program_do_volume; | OpenCLProgram program_do_volume; | ||||
| OpenCLProgram program_queue_enqueue; | |||||
| OpenCLProgram program_indirect_background; | OpenCLProgram program_indirect_background; | ||||
| OpenCLProgram program_shader_setup; | |||||
| OpenCLProgram program_shader_sort; | |||||
| OpenCLProgram program_shader_eval; | OpenCLProgram program_shader_eval; | ||||
| OpenCLProgram program_holdout_emission_blurring_pathtermination_ao; | OpenCLProgram program_holdout_emission_blurring_pathtermination_ao; | ||||
| OpenCLProgram program_subsurface_scatter; | OpenCLProgram program_subsurface_scatter; | ||||
| OpenCLProgram program_direct_lighting; | OpenCLProgram program_direct_lighting; | ||||
| OpenCLProgram program_shadow_blocked_ao; | OpenCLProgram program_shadow_blocked_ao; | ||||
| OpenCLProgram program_shadow_blocked_dl; | OpenCLProgram program_shadow_blocked_dl; | ||||
| OpenCLProgram program_enqueue_inactive; | |||||
| OpenCLProgram program_next_iteration_setup; | |||||
| OpenCLProgram program_indirect_subsurface; | |||||
| OpenCLProgram program_buffer_update; | |||||
| OpenCLProgram base_program; | OpenCLProgram base_program; | ||||
| OpenCLProgram bake_program; | OpenCLProgram bake_program; | ||||
| OpenCLProgram displace_program; | OpenCLProgram displace_program; | ||||
| OpenCLProgram background_program; | OpenCLProgram background_program; | ||||
| OpenCLProgram denoising_program; | OpenCLProgram denoising_program; | ||||
| typedef map<string, device_vector<uchar>*> ConstMemMap; | typedef map<string, device_vector<uchar>*> ConstMemMap; | ||||
| Show All 21 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); | string get_build_options(const DeviceRequestedFeatures& requested_features, const string& opencl_program_name); | ||||
| string get_build_options_for_bake(const DeviceRequestedFeatures& requested_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 232 Lines • Show Last 20 Lines | |||||