Searched refs:loTriFactor (Results 1 – 2 of 2) sorted by relevance
266 …Mat_SeqAIJHIPSPARSETriFactorStruct *loTriFactor = (Mat_SeqAIJHIPSPARSETriFactorStruct *)hi… in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() local278 if (!loTriFactor) { in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()312 PetscCall(PetscNew(&loTriFactor)); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()313 loTriFactor->solvePolicy = HIPSPARSE_SOLVE_POLICY_USE_LEVEL; in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()315 PetscCallHIPSPARSE(hipsparseCreateMatDescr(&loTriFactor->descr)); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()316 PetscCallHIPSPARSE(hipsparseSetMatIndexBase(loTriFactor->descr, HIPSPARSE_INDEX_BASE_ZERO)); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()317 PetscCallHIPSPARSE(hipsparseSetMatType(loTriFactor->descr, HIPSPARSE_MATRIX_TYPE_GENERAL)); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()318 PetscCallHIPSPARSE(hipsparseSetMatFillMode(loTriFactor->descr, HIPSPARSE_FILL_MODE_LOWER)); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()319 PetscCallHIPSPARSE(hipsparseSetMatDiagType(loTriFactor->descr, HIPSPARSE_DIAG_TYPE_UNIT)); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()322 loTriFactor->solveOp = HIPSPARSE_OPERATION_NON_TRANSPOSE; in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()[all …]
311 …Mat_SeqAIJCUSPARSETriFactorStruct *loTriFactor = (Mat_SeqAIJCUSPARSETriFactorStruct *)cuspa… in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() local323 if (!loTriFactor) { in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()360 PetscCall(PetscNew(&loTriFactor)); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()361 loTriFactor->solvePolicy = CUSPARSE_SOLVE_POLICY_USE_LEVEL; in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()363 PetscCallCUSPARSE(cusparseCreateMatDescr(&loTriFactor->descr)); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()364 PetscCallCUSPARSE(cusparseSetMatIndexBase(loTriFactor->descr, CUSPARSE_INDEX_BASE_ZERO)); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()366 PetscCallCUSPARSE(cusparseSetMatType(loTriFactor->descr, CUSPARSE_MATRIX_TYPE_GENERAL)); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()368 PetscCallCUSPARSE(cusparseSetMatType(loTriFactor->descr, CUSPARSE_MATRIX_TYPE_TRIANGULAR)); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()370 PetscCallCUSPARSE(cusparseSetMatFillMode(loTriFactor->descr, CUSPARSE_FILL_MODE_LOWER)); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()371 PetscCallCUSPARSE(cusparseSetMatDiagType(loTriFactor->descr, CUSPARSE_DIAG_TYPE_UNIT)); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()[all …]