use matrix symmetry in pairwise pyopencl