Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dt_opencl_t Struct Reference
+ Collaboration diagram for dt_opencl_t:

Data Fields

dt_pthread_mutex_t lock
 
int inited
 
int print_statistics
 
int enabled
 
int stopped
 
int num_devs
 
int num_detected_devs
 
int error_count
 
int opencl_synchronization_timeout
 
uint32_t crc
 
int mandatory [5]
 
int * dev_priority_image
 
int * dev_priority_preview
 
int * dev_priority_export
 
int * dev_priority_thumbnail
 
dt_opencl_device_tdev
 
dt_opencl_detected_device_tdetected_devs
 
dt_dlopencl_tdlocl
 
GHashTable * mem_sizes
 
dt_pthread_mutex_t mem_sizes_lock
 

Detailed Description

Definition at line 86 of file opencl.c.

Field Documentation

◆ crc

uint32_t dt_opencl_t::crc

Definition at line 97 of file opencl.c.

Referenced by dt_opencl_device_init(), and dt_opencl_init().

◆ detected_devs

◆ dev

dt_opencl_device_t* dt_opencl_t::dev

Definition at line 103 of file opencl.c.

Referenced by _device_by_cname(), _dt_opencl_alloc_image2d(), _opencl_get_device_memalloc(), dt_opencl_alloc_device_buffer_with_flags(), dt_opencl_avoid_atomics(), dt_opencl_build_program(), dt_opencl_check_tuning(), dt_opencl_cleanup(), dt_opencl_cleanup_device(), dt_opencl_copy_host_to_device_constant(), dt_opencl_copy_host_to_device_rowpitch(), dt_opencl_create_kernel(), dt_opencl_dev_roundup_height(), dt_opencl_dev_roundup_width(), dt_opencl_device_init(), dt_opencl_enqueue_barrier(), dt_opencl_enqueue_copy_buffer_to_buffer(), dt_opencl_enqueue_copy_buffer_to_image(), dt_opencl_enqueue_copy_image(), dt_opencl_enqueue_copy_image_to_buffer(), dt_opencl_enqueue_kernel_2d_with_local(), dt_opencl_events_flush(), dt_opencl_events_get_slot(), dt_opencl_events_profiling(), dt_opencl_events_reset(), dt_opencl_events_wait_for(), dt_opencl_finish(), dt_opencl_free_kernel(), dt_opencl_get_device_available(), dt_opencl_get_device_max_global_mem(), dt_opencl_get_device_max_image_size(), dt_opencl_get_device_name(), dt_opencl_get_kernel_work_group_size(), dt_opencl_get_max_work_item_sizes(), dt_opencl_get_mem_context_id(), dt_opencl_get_work_group_limits(), dt_opencl_image_fits_device_reason(), dt_opencl_init(), dt_opencl_load_program(), dt_opencl_map_buffer(), dt_opencl_map_image(), dt_opencl_memory_statistics(), dt_opencl_micro_nap(), dt_opencl_read_buffer_from_device(), dt_opencl_read_device_config(), dt_opencl_read_host_from_device_raw(), dt_opencl_release_device(), dt_opencl_reserve_device_by_id(), dt_opencl_reserve_device_for_pipe(), dt_opencl_set_detected_device_headroom(), dt_opencl_set_detected_device_pinned_memory(), dt_opencl_set_kernel_arg(), dt_opencl_try_reserve_device_by_id(), dt_opencl_unmap_mem_object(), dt_opencl_use_pinned_memory(), dt_opencl_write_buffer_to_device(), dt_opencl_write_device_config(), and dt_opencl_write_host_to_device_raw().

◆ dev_priority_export

int* dt_opencl_t::dev_priority_export

◆ dev_priority_image

int* dt_opencl_t::dev_priority_image

◆ dev_priority_preview

int* dt_opencl_t::dev_priority_preview

◆ dev_priority_thumbnail

int* dt_opencl_t::dev_priority_thumbnail

◆ dlocl

◆ enabled

int dt_opencl_t::enabled

◆ error_count

int dt_opencl_t::error_count

Definition at line 95 of file opencl.c.

Referenced by dt_opencl_init(), dt_opencl_report_pipe_error(), and dt_opencl_update_settings().

◆ inited

int dt_opencl_t::inited

Definition at line 89 of file opencl.c.

Referenced by _dt_opencl_alloc_image2d(), dt_opencl_alloc_device_buffer_with_flags(), dt_opencl_avoid_atomics(), dt_opencl_check_tuning(), dt_opencl_cleanup(), dt_opencl_copy_host_to_device_constant(), dt_opencl_copy_host_to_device_rowpitch(), dt_opencl_create_kernel(), dt_opencl_disable(), dt_opencl_enqueue_barrier(), dt_opencl_enqueue_copy_buffer_to_buffer(), dt_opencl_enqueue_copy_buffer_to_image(), dt_opencl_enqueue_copy_image(), dt_opencl_enqueue_copy_image_to_buffer(), dt_opencl_enqueue_kernel_2d_with_local(), dt_opencl_events_flush(), dt_opencl_events_get_slot(), dt_opencl_events_profiling(), dt_opencl_events_reset(), dt_opencl_events_wait_for(), dt_opencl_finish(), dt_opencl_free_kernel(), dt_opencl_get_device_available(), dt_opencl_get_device_max_global_mem(), dt_opencl_get_device_max_image_size(), dt_opencl_get_device_memalloc(), dt_opencl_get_device_name(), dt_opencl_get_kernel_work_group_size(), dt_opencl_get_max_work_item_sizes(), dt_opencl_get_mem_flags(), dt_opencl_get_num_devices(), dt_opencl_get_work_group_limits(), dt_opencl_image_fits_device_reason(), dt_opencl_init(), dt_opencl_is_enabled(), dt_opencl_is_inited(), dt_opencl_local_buffer_opt(), dt_opencl_map_buffer(), dt_opencl_map_image(), dt_opencl_micro_nap(), dt_opencl_read_buffer_from_device(), dt_opencl_read_host_from_device_raw(), dt_opencl_read_host_from_device_rowpitch(), dt_opencl_read_host_from_device_rowpitch_non_blocking(), dt_opencl_release_device(), dt_opencl_release_mem_object(), dt_opencl_reserve_device_by_id(), dt_opencl_reserve_device_for_pipe(), dt_opencl_set_kernel_arg(), dt_opencl_try_reserve_device_by_id(), dt_opencl_unmap_mem_object(), dt_opencl_update_priorities(), dt_opencl_update_settings(), dt_opencl_use_pinned_memory(), dt_opencl_write_buffer_to_device(), dt_opencl_write_host_to_device_raw(), dt_opencl_write_host_to_device_rowpitch(), and dt_opencl_write_host_to_device_rowpitch_non_blocking().

◆ lock

◆ mandatory

int dt_opencl_t::mandatory[5]

◆ mem_sizes

GHashTable* dt_opencl_t::mem_sizes

Definition at line 117 of file opencl.c.

Referenced by dt_opencl_cleanup(), dt_opencl_init(), and dt_opencl_memory_statistics().

◆ mem_sizes_lock

dt_pthread_mutex_t dt_opencl_t::mem_sizes_lock

Definition at line 118 of file opencl.c.

Referenced by dt_opencl_cleanup(), dt_opencl_init(), and dt_opencl_memory_statistics().

◆ num_detected_devs

int dt_opencl_t::num_detected_devs

◆ num_devs

◆ opencl_synchronization_timeout

int dt_opencl_t::opencl_synchronization_timeout

Definition at line 96 of file opencl.c.

Referenced by dt_opencl_set_synchronization_timeout().

◆ print_statistics

int dt_opencl_t::print_statistics

Definition at line 90 of file opencl.c.

Referenced by dt_opencl_cleanup_device(), and dt_opencl_init().

◆ stopped

int dt_opencl_t::stopped

Definition at line 92 of file opencl.c.

Referenced by dt_opencl_init(), dt_opencl_report_pipe_error(), and dt_opencl_update_settings().


The documentation for this struct was generated from the following file: