Adding the resampling filter implementation on the GPU.