Graph Isomorphism in CUDA - 2nd kernel