Example of computing optical flow on GPU