code: public static int cusolverDnSlaswp(
          cusolverDnHandle handle, 
          int n, 
          Pointer A, 
          int lda, 
          int k1, 
          int k2, 
          Pointer devIpiv, 
          int incx)
      {
          return checkResult(cusolverDnSlaswpNative(handle, n, A, lda, k1, k2, devIpiv, incx));
      }
docs: Row pivoting