![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <opencl.h>
Collaboration diagram for dt_opencl_device_t:Data Fields | |
| dt_pthread_mutex_t | lock |
| cl_device_id | devid |
| cl_context | context |
| cl_command_queue | cmd_queue |
| size_t | max_image_width |
| size_t | max_image_height |
| cl_ulong | max_mem_alloc |
| cl_ulong | max_global_mem |
| cl_ulong | used_global_mem |
| cl_program | program [256] |
| cl_kernel | kernel [512] |
| int | program_used [256] |
| int | kernel_used [512] |
| cl_event * | eventlist |
| dt_opencl_eventtag_t * | eventtags |
| int | numevents |
| int | eventsconsolidated |
| int | maxevents |
| int | lostevents |
| int | totalevents |
| int | totalsuccess |
| int | totallost |
| int | maxeventslot |
| int | nvidia_sm_20 |
| const char * | vendor |
| const char * | name |
| const char * | cname |
| const char * | options |
| const char * | options_md5 |
| cl_int | summary |
| size_t | memory_in_use |
| size_t | peak_memory |
| size_t | used_available |
| int | runtime_error |
| int | avoid_atomics |
| int | micro_nap |
| int | pinned_memory |
| int | clroundup_wd |
| int | clroundup_ht |
| unsigned int | cltype |
| int | event_handles |
| int | use_events |
| int | disabled |
| size_t | forced_headroom |
to support multi-gpu and mixed systems with cpu support, we encapsulate devices and use separate command queues.
| int dt_opencl_device_t::avoid_atomics |
| int dt_opencl_device_t::clroundup_ht |
| int dt_opencl_device_t::clroundup_wd |
| unsigned int dt_opencl_device_t::cltype |
Referenced by dt_opencl_device_init().
| cl_command_queue dt_opencl_device_t::cmd_queue |
Referenced by dt_opencl_cleanup_device(), 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_finish(), dt_opencl_map_buffer(), dt_opencl_map_image(), dt_opencl_read_buffer_from_device(), dt_opencl_read_host_from_device_raw(), dt_opencl_unmap_mem_object(), dt_opencl_write_buffer_to_device(), and dt_opencl_write_host_to_device_raw().
| const char* dt_opencl_device_t::cname |
| cl_context dt_opencl_device_t::context |
| cl_device_id dt_opencl_device_t::devid |
| int dt_opencl_device_t::disabled |
Referenced by dt_opencl_device_init(), dt_opencl_read_device_config(), and dt_opencl_write_device_config().
| int dt_opencl_device_t::event_handles |
Referenced by dt_opencl_device_init(), dt_opencl_events_get_slot(), dt_opencl_read_device_config(), and dt_opencl_write_device_config().
| cl_event* dt_opencl_device_t::eventlist |
| int dt_opencl_device_t::eventsconsolidated |
| dt_opencl_eventtag_t* dt_opencl_device_t::eventtags |
| size_t dt_opencl_device_t::forced_headroom |
| cl_kernel dt_opencl_device_t::kernel[512] |
| int dt_opencl_device_t::kernel_used[512] |
Referenced by dt_opencl_cleanup_device(), dt_opencl_create_kernel(), dt_opencl_device_init(), and dt_opencl_free_kernel().
| dt_pthread_mutex_t dt_opencl_device_t::lock |
Referenced by dt_opencl_cleanup_device(), dt_opencl_device_init(), dt_opencl_lock_device(), and dt_opencl_unlock_device().
| int dt_opencl_device_t::lostevents |
| cl_ulong dt_opencl_device_t::max_global_mem |
Referenced by dt_opencl_check_tuning(), and dt_opencl_device_init().
| size_t dt_opencl_device_t::max_image_height |
| size_t dt_opencl_device_t::max_image_width |
| cl_ulong dt_opencl_device_t::max_mem_alloc |
Referenced by _opencl_get_device_memalloc(), and dt_opencl_device_init().
| int dt_opencl_device_t::maxevents |
Referenced by dt_opencl_device_init(), dt_opencl_events_get_slot(), and dt_opencl_events_reset().
| int dt_opencl_device_t::maxeventslot |
Referenced by dt_opencl_cleanup_device(), dt_opencl_device_init(), and dt_opencl_events_get_slot().
| size_t dt_opencl_device_t::memory_in_use |
Referenced by dt_opencl_device_init(), dt_opencl_get_device_available(), and dt_opencl_memory_statistics().
| int dt_opencl_device_t::micro_nap |
| const char* dt_opencl_device_t::name |
| int dt_opencl_device_t::numevents |
| int dt_opencl_device_t::nvidia_sm_20 |
Referenced by dt_opencl_device_init().
| const char* dt_opencl_device_t::options |
Referenced by dt_opencl_build_program(), dt_opencl_cleanup_device(), dt_opencl_device_init(), and dt_opencl_load_program().
| const char* dt_opencl_device_t::options_md5 |
Referenced by dt_opencl_cleanup_device(), dt_opencl_device_init(), and dt_opencl_load_program().
| size_t dt_opencl_device_t::peak_memory |
Referenced by dt_opencl_cleanup_device(), dt_opencl_device_init(), and dt_opencl_memory_statistics().
| int dt_opencl_device_t::pinned_memory |
| cl_program dt_opencl_device_t::program[256] |
| int dt_opencl_device_t::program_used[256] |
Referenced by dt_opencl_cleanup_device(), dt_opencl_device_init(), and dt_opencl_load_program().
| int dt_opencl_device_t::runtime_error |
Referenced by dt_opencl_device_init().
| cl_int dt_opencl_device_t::summary |
Referenced by dt_opencl_device_init(), dt_opencl_events_flush(), and dt_opencl_events_reset().
| int dt_opencl_device_t::totalevents |
Referenced by dt_opencl_cleanup_device(), dt_opencl_device_init(), and dt_opencl_events_get_slot().
| int dt_opencl_device_t::totallost |
| int dt_opencl_device_t::totalsuccess |
Referenced by dt_opencl_cleanup_device(), dt_opencl_device_init(), and dt_opencl_events_flush().
| int dt_opencl_device_t::use_events |
| size_t dt_opencl_device_t::used_available |
Referenced by dt_opencl_check_tuning(), dt_opencl_device_init(), and dt_opencl_get_device_available().
| cl_ulong dt_opencl_device_t::used_global_mem |
Referenced by dt_opencl_device_init().
| const char* dt_opencl_device_t::vendor |
Referenced by dt_opencl_cleanup_device(), and dt_opencl_device_init().