Vectorise kernel
Compare changes
+ 55
− 0
@@ -212,6 +212,61 @@ __attribute__((always_inline)) INLINE static void kernel_eval(float u,
Should fix issue #154 (closed). Includes updates to testKernel.c
that test kernel_deval_vec
against the serial kernel_deval
.
I have tested it with Cubic Spline, Wendland C2 + C6 kernels.
Same here.
Could you make this a constant declared outside of the function such that
vec_set1()
only needs to be called once ?