![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Go to the source code of this file.
Data Structures | |
struct | dt_opencl_t |
Macros | |
#define | DT_OPENCL_MAX_PLATFORMS 5 |
#define | DT_OPENCL_MAX_PROGRAMS 256 |
#define | DT_OPENCL_MAX_KERNELS 512 |
#define | DT_OPENCL_EVENTLISTSIZE 256 |
#define | DT_OPENCL_EVENTNAMELENGTH 64 |
#define | DT_OPENCL_MAX_ERRORS 5 |
#define | DT_OPENCL_MAX_INCLUDES 7 |
#define | DT_OPENCL_VENDOR_AMD 4098 |
#define | DT_OPENCL_VENDOR_NVIDIA 4318 |
#define | DT_OPENCL_VENDOR_INTEL 0x8086u |
#define | DT_OPENCL_CBUFFSIZE 1024 |
#define | DT_OPENCL_DEFAULT_ERROR -999 |
#define | DT_OPENCL_SYSMEM_ALLOCATION -998 |
Typedefs | |
typedef struct dt_opencl_t | dt_opencl_t |
Functions | |
static void | dt_opencl_init (dt_opencl_t *cl, const gboolean exclude_opencl, const gboolean print_statistics) |
static void | dt_opencl_cleanup (dt_opencl_t *cl) |
static gboolean | dt_opencl_finish (const int devid) |
static int | dt_opencl_enqueue_barrier (const int devid) |
static int | dt_opencl_lock_device (const int dev) |
static void | dt_opencl_unlock_device (const int dev) |
static int | dt_opencl_load_program (const int dev, const char *filename) |
static int | dt_opencl_build_program (const int dev, const int program) |
static int | dt_opencl_create_kernel (const int program, const char *name) |
static void | dt_opencl_free_kernel (const int kernel) |
static int | dt_opencl_get_max_work_item_sizes (const int dev, size_t *sizes) |
static int | dt_opencl_get_work_group_limits (const int dev, size_t *sizes, size_t *workgroupsize, unsigned long *localmemsize) |
static int | dt_opencl_get_kernel_work_group_size (const int dev, const int kernel, size_t *kernelworkgroupsize) |
static int | dt_opencl_set_kernel_arg (const int dev, const int kernel, const size_t size, const void *arg) |
static int | dt_opencl_enqueue_kernel_2d (const int dev, const int kernel, const size_t *sizes) |
static int | dt_opencl_enqueue_kernel_2d_with_local (const int dev, const int kernel, const size_t *sizes, const size_t *local) |
static int | dt_opencl_is_inited (void) |
static int | dt_opencl_is_enabled (void) |
static void | dt_opencl_disable (void) |
static int | dt_opencl_update_settings (void) |
static gboolean | dt_opencl_image_fits_device (const int devid, const size_t width, const size_t height, const unsigned bpp, const float factor, const size_t overhead) |
static size_t | dt_opencl_get_device_available (const int devid) |
static void | dt_opencl_check_tuning (const int devid) |
static size_t | dt_opencl_get_device_memalloc (const int devid) |
static void | dt_opencl_release_mem_object (void *mem) |
static void * | dt_opencl_events_get_slot (const int devid, const char *tag) |
static void | dt_opencl_events_reset (const int devid) |
static void | dt_opencl_events_wait_for (const int devid) |
static int | dt_opencl_events_flush (const int devid, const int reset) |
static void | dt_opencl_events_profiling (const int devid, const int aggregated) |
#define DT_OPENCL_CBUFFSIZE 1024 |
#define DT_OPENCL_DEFAULT_ERROR -999 |
#define DT_OPENCL_EVENTLISTSIZE 256 |
#define DT_OPENCL_EVENTNAMELENGTH 64 |
#define DT_OPENCL_MAX_ERRORS 5 |
#define DT_OPENCL_MAX_INCLUDES 7 |
#define DT_OPENCL_MAX_KERNELS 512 |
#define DT_OPENCL_MAX_PLATFORMS 5 |
#define DT_OPENCL_MAX_PROGRAMS 256 |
#define DT_OPENCL_SYSMEM_ALLOCATION -998 |
#define DT_OPENCL_VENDOR_AMD 4098 |
#define DT_OPENCL_VENDOR_INTEL 0x8086u |
#define DT_OPENCL_VENDOR_NVIDIA 4318 |
typedef struct dt_opencl_t dt_opencl_t |
|
inlinestatic |
|
inlinestatic |
Referenced by dt_dev_pixelpipe_process().
|
inlinestatic |
Referenced by dt_cleanup().
|
inlinestatic |
Referenced by dt_develop_blend_init_cl_global(), init_global(), and init_global().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Referenced by dt_dev_pixelpipe_process().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Referenced by dt_dev_pixelpipe_process().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Referenced by cleanup_global(), cleanup_global(), and dt_develop_blend_free_cl_global().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
References FALSE.
|
inlinestatic |
References dt_conf_set_bool(), DT_DEBUG_OPENCL, dt_print(), dt_opencl_t::enabled, dt_opencl_t::error_count, FALSE, dt_opencl_t::inited, and dt_opencl_t::stopped.
Referenced by dt_init().
|
inlinestatic |
Referenced by _get_base_value().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Referenced by dt_dev_pixelpipe_process().
|
inlinestatic |
|
inlinestatic |
Referenced by dt_dev_pixelpipe_process().
|
inlinestatic |
Referenced by dt_dev_pixelpipe_process().