code: public static int cusolverRfBatchSolve(
          cusolverRfHandle handle, 
          Pointer P, 
          Pointer Q, 
          int nrhs, //only nrhs=1 is supported
          Pointer Temp, //of size 2*batchSize*(n*nrhs)
          int ldt, //only ldt=n is supported
          /** Input/Output (in the device memory) */
          Pointer XF_array, 
          /** Input */
          int ldxf)
      {
          return checkResult(cusolverRfBatchSolveNative(handle, P, Q, nrhs, Temp, ldt, XF_array, ldxf));
      }
docs: CUSOLVERRF-batch (forward and backward triangular) solves