Add All-Pairs implementation from nVidia