A 1-D filter using CUDA