public class JCusolverRf extends Object
Modifier and Type | Method and Description |
---|---|
static int |
cusolverRfAccessBundledFactorsDevice(cusolverRfHandle handle,
Pointer nnzM,
Pointer Mp,
Pointer Mi,
Pointer Mx)
CUSOLVERRF extraction: Get L & U packed into a single matrix M
|
static int |
cusolverRfAnalyze(cusolverRfHandle handle)
CUSOLVERRF analysis (for parallelism)
|
static int |
cusolverRfBatchAnalyze(cusolverRfHandle handle)
CUSOLVERRF-batch analysis (for parallelism)
|
static int |
cusolverRfBatchRefactor(cusolverRfHandle handle)
CUSOLVERRF-batch re-factorization (for parallelism)
|
static int |
cusolverRfBatchResetValues(int batchSize,
int n,
int nnzA,
Pointer csrRowPtrA,
Pointer csrColIndA,
Pointer csrValA_array,
Pointer P,
Pointer Q,
cusolverRfHandle handle)
CUSOLVERRF-batch update the matrix values (assuming the reordering, pivoting
and consequently the sparsity pattern of L and U did not change),
and zero out the remaining values.
|
static int |
cusolverRfBatchSetupHost(int batchSize,
int n,
int nnzA,
Pointer h_csrRowPtrA,
Pointer h_csrColIndA,
Pointer h_csrValA_array,
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,
cusolverRfHandle handle)
CUSOLVERRF-batch setup of internal structures from host
|
static int |
cusolverRfBatchSolve(cusolverRfHandle handle,
Pointer P,
Pointer Q,
int nrhs,
Pointer Temp,
int ldt,
Pointer XF_array,
int ldxf)
CUSOLVERRF-batch (forward and backward triangular) solves
|
static int |
cusolverRfBatchZeroPivot(cusolverRfHandle handle,
Pointer position)
CUSOLVERRF-batch obtain the position of zero pivot
|
static int |
cusolverRfCreate(cusolverRfHandle handle)
CUSOLVERRF create (allocate memory) and destroy (free memory) in the handle
|
static int |
cusolverRfDestroy(cusolverRfHandle handle) |
static int |
cusolverRfExtractBundledFactorsHost(cusolverRfHandle handle,
Pointer h_nnzM,
Pointer h_Mp,
Pointer h_Mi,
Pointer h_Mx)
Input
|
static int |
cusolverRfExtractSplitFactorsHost(cusolverRfHandle handle,
Pointer h_nnzL,
Pointer h_csrRowPtrL,
Pointer h_csrColIndL,
Pointer h_csrValL,
Pointer h_nnzU,
Pointer h_csrRowPtrU,
Pointer h_csrColIndU,
Pointer h_csrValU)
CUSOLVERRF extraction: Get L & U individually
|
static int |
cusolverRfGetAlgs(cusolverRfHandle handle,
int[] factAlg,
int[] solveAlg) |
static int |
cusolverRfGetMatrixFormat(cusolverRfHandle handle,
int[] format,
int[] diag)
CUSOLVERRF set and get input format
|
static int |
cusolverRfGetNumericBoostReport(cusolverRfHandle handle,
int[] report) |
static int |
cusolverRfGetNumericProperties(cusolverRfHandle handle,
double[] zero,
double[] boost) |
static int |
cusolverRfGetResetValuesFastMode(cusolverRfHandle handle,
int[] fastMode)
CUSOLVERRF set and get fast mode
|
static int |
cusolverRfRefactor(cusolverRfHandle handle)
CUSOLVERRF re-factorization (for parallelism)
|
static int |
cusolverRfResetValues(int n,
int nnzA,
Pointer csrRowPtrA,
Pointer csrColIndA,
Pointer csrValA,
Pointer P,
Pointer Q,
cusolverRfHandle handle)
CUSOLVERRF update the matrix values (assuming the reordering, pivoting
and consequently the sparsity pattern of L and U did not change),
and zero out the remaining values.
|
static int |
cusolverRfSetAlgs(cusolverRfHandle handle,
int factAlg,
int solveAlg)
CUSOLVERRF choose the triangular solve algorithm
|
static int |
cusolverRfSetMatrixFormat(cusolverRfHandle handle,
int format,
int diag) |
static int |
cusolverRfSetNumericProperties(cusolverRfHandle handle,
double zero,
double boost)
CUSOLVERRF set and get numeric properties
|
static int |
cusolverRfSetResetValuesFastMode(cusolverRfHandle handle,
int fastMode) |
static int |
cusolverRfSetupDevice(int n,
int nnzA,
Pointer csrRowPtrA,
Pointer csrColIndA,
Pointer csrValA,
int nnzL,
Pointer csrRowPtrL,
Pointer csrColIndL,
Pointer csrValL,
int nnzU,
Pointer csrRowPtrU,
Pointer csrColIndU,
Pointer csrValU,
Pointer P,
Pointer Q,
cusolverRfHandle handle)
Input (in the device memory)
|
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,
cusolverRfHandle handle)
CUSOLVERRF setup of internal structures from host or device memory
|
static int |
cusolverRfSolve(cusolverRfHandle handle,
Pointer P,
Pointer Q,
int nrhs,
Pointer Temp,
int ldt,
Pointer XF,
int ldxf)
CUSOLVERRF (forward and backward triangular) solves
|
public static int cusolverRfCreate(cusolverRfHandle handle)
public static int cusolverRfDestroy(cusolverRfHandle handle)
public static int cusolverRfGetMatrixFormat(cusolverRfHandle handle, int[] format, int[] diag)
public static int cusolverRfSetMatrixFormat(cusolverRfHandle handle, int format, int diag)
public static int cusolverRfSetNumericProperties(cusolverRfHandle handle, double zero, double boost)
public static int cusolverRfGetNumericProperties(cusolverRfHandle handle, double[] zero, double[] boost)
public static int cusolverRfGetNumericBoostReport(cusolverRfHandle handle, int[] report)
public static int cusolverRfSetAlgs(cusolverRfHandle handle, int factAlg, int solveAlg)
public static int cusolverRfGetAlgs(cusolverRfHandle handle, int[] factAlg, int[] solveAlg)
public static int cusolverRfGetResetValuesFastMode(cusolverRfHandle handle, int[] fastMode)
public static int cusolverRfSetResetValuesFastMode(cusolverRfHandle handle, int fastMode)
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, cusolverRfHandle handle)
public static int cusolverRfSetupDevice(int n, int nnzA, Pointer csrRowPtrA, Pointer csrColIndA, Pointer csrValA, int nnzL, Pointer csrRowPtrL, Pointer csrColIndL, Pointer csrValL, int nnzU, Pointer csrRowPtrU, Pointer csrColIndU, Pointer csrValU, Pointer P, Pointer Q, cusolverRfHandle handle)
public static int cusolverRfResetValues(int n, int nnzA, Pointer csrRowPtrA, Pointer csrColIndA, Pointer csrValA, Pointer P, Pointer Q, cusolverRfHandle handle)
public static int cusolverRfAnalyze(cusolverRfHandle handle)
public static int cusolverRfRefactor(cusolverRfHandle handle)
public static int cusolverRfAccessBundledFactorsDevice(cusolverRfHandle handle, Pointer nnzM, Pointer Mp, Pointer Mi, Pointer Mx)
public static int cusolverRfExtractBundledFactorsHost(cusolverRfHandle handle, Pointer h_nnzM, Pointer h_Mp, Pointer h_Mi, Pointer h_Mx)
public static int cusolverRfExtractSplitFactorsHost(cusolverRfHandle handle, Pointer h_nnzL, Pointer h_csrRowPtrL, Pointer h_csrColIndL, Pointer h_csrValL, Pointer h_nnzU, Pointer h_csrRowPtrU, Pointer h_csrColIndU, Pointer h_csrValU)
public static int cusolverRfSolve(cusolverRfHandle handle, Pointer P, Pointer Q, int nrhs, Pointer Temp, int ldt, Pointer XF, int ldxf)
public static int cusolverRfBatchSetupHost(int batchSize, int n, int nnzA, Pointer h_csrRowPtrA, Pointer h_csrColIndA, Pointer h_csrValA_array, 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, cusolverRfHandle handle)
public static int cusolverRfBatchResetValues(int batchSize, int n, int nnzA, Pointer csrRowPtrA, Pointer csrColIndA, Pointer csrValA_array, Pointer P, Pointer Q, cusolverRfHandle handle)
public static int cusolverRfBatchAnalyze(cusolverRfHandle handle)
public static int cusolverRfBatchRefactor(cusolverRfHandle handle)
public static int cusolverRfBatchSolve(cusolverRfHandle handle, Pointer P, Pointer Q, int nrhs, Pointer Temp, int ldt, Pointer XF_array, int ldxf)
public static int cusolverRfBatchZeroPivot(cusolverRfHandle handle, Pointer position)
Copyright © 2020. All rights reserved.