Graph Isomorphism in CUDA - 1st kernel