47int _sp_pde_assemble(
const uint8_t *
const restrict hole,
const float *
const restrict diffusion,
48 const float diffusion_const,
const int order,
const float lambda,
const int region_w,
49 const int region_h,
int **matrix_col_ptr_out,
int **matrix_row_index_out,
50 double **matrix_values_out,
int **perm_grid_out,
int *n_unknowns_out,
64 const int order,
const float lambda,
const int region_w,
const int region_h,
78 float *
const restrict field,
const uint8_t *
const restrict hole,
79 const float *
const restrict diffusion,
const float *
const restrict target,
80 const float *
const restrict source,
const int order,
const float lambda,
const int region_w,
81 const int region_h,
double *
const restrict rhs,
float *
const restrict embedded,
82 float *
const restrict operator_out,
float *
const restrict scratch);
99void _region_pde_solve(
float *
const restrict field,
const uint8_t *
const restrict hole,
100 const float *
const restrict diffusion,
const float *
const restrict target,
101 const float *
const restrict source,
const int order,
const float lambda,
const int region_w,
102 const int region_h,
float *
const restrict residual,
float *
const restrict search_dir,
103 float *
const restrict operator_dir,
float *
const restrict embedded,
104 float *
const restrict scratch,
const int maxiter);
117#if defined(HAVE_OPENCL) && DT_HL_SPARSE_SOLVE
119cl_int _region_blur1_cl(
const int devid, cl_mem in, cl_mem
out,
const int region_w,
const int region_h,
137cl_int _region_pde_cg_cl(
const int devid,
void *gd_void, cl_mem solution, cl_mem hole,
const int region_w,
138 const int region_h,
const float dscalar,
const float tscalar,
const int maxiter);
const dt_colormatrix_t dt_aligned_pixel_t out
void _sp_pde_solve(const _sp_chol_t *const factor, const int *const restrict perm_grid, float *const restrict field, const uint8_t *const restrict hole, const float *const restrict diffusion, const float *const restrict target, const float *const restrict source, const int order, const float lambda, const int region_w, const int region_h, double *const restrict rhs, float *const restrict embedded, float *const restrict operator_out, float *const restrict scratch)
_sp_chol_t * _sp_pde_factor(const uint8_t *const restrict hole, const float *const restrict diffusion, const int order, const float lambda, const int region_w, const int region_h, int **perm_out, int *n_unknowns_out, const dt_dev_pixelpipe_t *pipe)
static _sp_chol_cl_kernels_t _hl_sp_chol_kernels(void *gd_void)
int _sp_pde_assemble(const uint8_t *const restrict hole, const float *const restrict diffusion, const float diffusion_const, const int order, const float lambda, const int region_w, const int region_h, int **matrix_col_ptr_out, int **matrix_row_index_out, double **matrix_values_out, int **perm_grid_out, int *n_unknowns_out, const dt_dev_pixelpipe_t *const pipe)
void _region_pde_solve(float *const restrict field, const uint8_t *const restrict hole, const float *const restrict diffusion, const float *const restrict target, const float *const restrict source, const int order, const float lambda, const int region_w, const int region_h, float *const restrict residual, float *const restrict search_dir, float *const restrict operator_dir, float *const restrict embedded, float *const restrict scratch, const int maxiter)
int kernel_sparse_chol_final_level
int kernel_sparse_chol_fwd_level
int kernel_sparse_chol_bwd_level
int kernel_sparse_chol_update_level