CUDA acceleration of a blockmatching algorithm