Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
sparse_cholesky_cl.h File Reference
+ Include dependency graph for sparse_cholesky_cl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _sp_chol_cl_kernels_t
 
struct  _sp_chol_cl_t
 

Functions

static void _sp_chol_cl_free (_sp_chol_cl_t *factor)
 
static cl_mem _sp_cl_upload (const int devid, const void *data, const size_t bytes)
 
static _sp_chol_cl_t_sp_chol_factor_cl (const int devid, const _sp_chol_cl_kernels_t kernels, const int dimension, const int *const restrict matrix_col_ptr, const int *const restrict matrix_row_index, const double *const restrict matrix_values)
 
static int _sp_chol_solve_cl (const _sp_chol_cl_t *const factor, const _sp_chol_cl_kernels_t kernels, cl_mem rhs)
 

Function Documentation

◆ _sp_chol_cl_free()

static void _sp_chol_cl_free ( _sp_chol_cl_t factor)
inlinestatic

Definition at line 67 of file sparse_cholesky_cl.h.

References dt_opencl_release_mem_object(), and factor.

Referenced by _sp_chol_cl_selftest(), and _sp_chol_factor_cl().

◆ _sp_chol_factor_cl()

static _sp_chol_cl_t * _sp_chol_factor_cl ( const int  devid,
const _sp_chol_cl_kernels_t  kernels,
const int  dimension,
const int *const restrict  matrix_col_ptr,
const int *const restrict  matrix_row_index,
const double *const restrict  matrix_values 
)
inlinestatic

◆ _sp_chol_solve_cl()

static int _sp_chol_solve_cl ( const _sp_chol_cl_t *const  factor,
const _sp_chol_cl_kernels_t  kernels,
cl_mem  rhs 
)
inlinestatic

◆ _sp_cl_upload()

static cl_mem _sp_cl_upload ( const int  devid,
const void data,
const size_t  bytes 
)
inlinestatic