Initialize GPU optical flow calculator only once.