code: public static int cusolverRfSetupHost(
          int n, 
          int nnzA, 
          Pointer h_csrRowPtrA, 
          Pointer h_csrColIndA, 
          Pointer h_csrValA, 
          int nnzL, 
          Pointer h_csrRowPtrL, 
          Pointer h_csrColIndL, 
          Pointer h_csrValL, 
          int nnzU, 
          Pointer h_csrRowPtrU, 
          Pointer h_csrColIndU, 
          Pointer h_csrValU, 
          Pointer h_P, 
          Pointer h_Q, 
          /** Output */
          cusolverRfHandle handle)
      {
          return checkResult(cusolverRfSetupHostNative(n, nnzA, h_csrRowPtrA, h_csrColIndA, h_csrValA, nnzL, h_csrRowPtrL, h_csrColIndL, h_csrValL, nnzU, h_csrRowPtrU, h_csrColIndU, h_csrValU, h_P, h_Q, handle));
      }
docs: CUSOLVERRF setup of internal structures from host or device memory