Skip to content

Instantly share code, notes, and snippets.

@vermorel
vermorel / fast_convolve_1D.cpp
Last active April 10, 2024 12:31
Fast 1D convolution with AVX
// Fast 1D convolution with AXV
// By Joannes Vermorel, Lokad, January 2018
// Released under MIT license
#include <string.h>
#include <stdio.h>
#include <malloc.h>
/* A simple implementation of a 1D convolution that just iterates over
* scalar values of the input array.