Using GPU for fast block-matching