Commit a7a0a319 authored by Ulrich Pegelow's avatar Ulrich Pegelow

opencl: some cleanup

parent 8b72d1fa
......@@ -31,7 +31,7 @@
#define MMCLAMPPS(a, mn, mx) (_mm_min_ps((mx), _mm_max_ps((a), (mn))))
#endif
#define BLOCKSIZE 32
#define BLOCKSIZE 64
static void compute_gauss_params(const float sigma, dt_gaussian_order_t order, float *a0, float *a1,
float *a2, float *a3, float *b1, float *b2, float *coefp, float *coefn)
......
......@@ -38,8 +38,6 @@
#include <gtk/gtk.h>
#include <inttypes.h>
#define BLOCKSIZE \
2048 /* maximum blocksize. must be a power of 2 and will be automatically reduced if needed */
#define REDUCESIZE 64
// NaN-safe clip: NaN compares false and will result in 0.0
......
......@@ -44,9 +44,6 @@
#define CLAMPF(a, mn, mx) ((a) < (mn) ? (mn) : ((a) > (mx) ? (mx) : (a)))
#define BLOCKSIZE 64 /* maximum blocksize. must be a power of 2 and will be automatically reduced if needed \
*/
DT_MODULE_INTROSPECTION(4, dt_iop_lowpass_params_t)
typedef enum dt_iop_lowpass_algo_t
......
......@@ -60,9 +60,6 @@
#define CLAMPF(a, mn, mx) ((a) < (mn) ? (mn) : ((a) > (mx) ? (mx) : (a)))
#define CLAMP_RANGE(x, y, z) (CLAMP(x, y, z))
#define BLOCKSIZE 64 /* maximum blocksize. must be a power of 2 and will be automatically reduced if needed \
*/
DT_MODULE_INTROSPECTION(5, dt_iop_shadhi_params_t)
typedef enum dt_iop_shadhi_algo_t
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment