Lines Matching refs:Bcusp

2907   Mat_SeqAIJCUSPARSE           *Acusp, *Bcusp, *Ccusp;  in MatProductNumeric_SeqAIJCUSPARSE_SeqAIJCUSPARSE()  local
2946 Bcusp = (Mat_SeqAIJCUSPARSE *)B->spptr; in MatProductNumeric_SeqAIJCUSPARSE_SeqAIJCUSPARSE()
2949 …PetscCheck(Bcusp->format == MAT_CUSPARSE_CSR, PetscObjectComm((PetscObject)C), PETSC_ERR_GPU, "Onl… in MatProductNumeric_SeqAIJCUSPARSE_SeqAIJCUSPARSE()
2966 Bmat = Bcusp->mat; in MatProductNumeric_SeqAIJCUSPARSE_SeqAIJCUSPARSE()
2970 Bmat = Bcusp->mat; in MatProductNumeric_SeqAIJCUSPARSE_SeqAIJCUSPARSE()
2974 Bmat = Bcusp->matTranspose; in MatProductNumeric_SeqAIJCUSPARSE_SeqAIJCUSPARSE()
3028 Mat_SeqAIJCUSPARSE *Acusp, *Bcusp, *Ccusp; in MatProductSymbolic_SeqAIJCUSPARSE_SeqAIJCUSPARSE() local
3066 Bcusp = (Mat_SeqAIJCUSPARSE *)B->spptr; in MatProductSymbolic_SeqAIJCUSPARSE_SeqAIJCUSPARSE()
3068 …PetscCheck(Bcusp->format == MAT_CUSPARSE_CSR, PetscObjectComm((PetscObject)C), PETSC_ERR_GPU, "Onl… in MatProductSymbolic_SeqAIJCUSPARSE_SeqAIJCUSPARSE()
3087 Bmat = Bcusp->mat; in MatProductSymbolic_SeqAIJCUSPARSE_SeqAIJCUSPARSE()
3097 Bmat = Bcusp->mat; in MatProductSymbolic_SeqAIJCUSPARSE_SeqAIJCUSPARSE()
3106 Bmat = Bcusp->matTranspose; in MatProductSymbolic_SeqAIJCUSPARSE_SeqAIJCUSPARSE()
3175 if (!Bcusp->rowoffsets_gpu) { in MatProductSymbolic_SeqAIJCUSPARSE_SeqAIJCUSPARSE()
3176 Bcusp->rowoffsets_gpu = new THRUSTINTARRAY32(B->rmap->n + 1); in MatProductSymbolic_SeqAIJCUSPARSE_SeqAIJCUSPARSE()
3177 Bcusp->rowoffsets_gpu->assign(b->i, b->i + B->rmap->n + 1); in MatProductSymbolic_SeqAIJCUSPARSE_SeqAIJCUSPARSE()
3180 Bcsr->row_offsets = Bcusp->rowoffsets_gpu; in MatProductSymbolic_SeqAIJCUSPARSE_SeqAIJCUSPARSE()
4741 …Mat_SeqAIJCUSPARSE *Acusp = (Mat_SeqAIJCUSPARSE *)A->spptr, *Bcusp = (Mat_SeqAIJCUSPARSE… in MatSeqAIJCUSPARSEMergeMats() local
4757 …PetscCheck(Bcusp->format != MAT_CUSPARSE_ELL && Bcusp->format != MAT_CUSPARSE_HYB, PETSC_COMM_SELF… in MatSeqAIJCUSPARSEMergeMats()
4791 PetscCheck(Bcusp->mat, PETSC_COMM_SELF, PETSC_ERR_COR, "Missing Mat_SeqAIJCUSPARSEMultStruct"); in MatSeqAIJCUSPARSEMergeMats()
4794 Bcsr = (CsrMatrix *)Bcusp->mat->mat; in MatSeqAIJCUSPARSEMergeMats()
4818 if (!Bcusp->rowoffsets_gpu) { in MatSeqAIJCUSPARSEMergeMats()
4819 Bcusp->rowoffsets_gpu = new THRUSTINTARRAY32(B->rmap->n + 1); in MatSeqAIJCUSPARSEMergeMats()
4820 Bcusp->rowoffsets_gpu->assign(b->i, b->i + B->rmap->n + 1); in MatSeqAIJCUSPARSEMergeMats()
4823 Broff = Bcusp->rowoffsets_gpu; in MatSeqAIJCUSPARSEMergeMats()
4828 …stat = cusparseXcsr2coo(Bcusp->handle, Broff->data().get(), Bnnz, m, Bcoo->data().get(), CUSPARSE_… in MatSeqAIJCUSPARSEMergeMats()
4886 … AT = Acusp->matTranspose ? PETSC_TRUE : PETSC_FALSE, BT = Bcusp->matTranspose ? PE… in MatSeqAIJCUSPARSEMergeMats()
4890 CsrMatrix *BcsrT = BT ? (CsrMatrix *)Bcusp->matTranspose->mat : NULL; in MatSeqAIJCUSPARSEMergeMats()
4989 … PetscCheck(Bcusp->mat, PETSC_COMM_SELF, PETSC_ERR_COR, "Missing Mat_SeqAIJCUSPARSEMultStruct"); in MatSeqAIJCUSPARSEMergeMats()
4991 Bcsr = (CsrMatrix *)Bcusp->mat->mat; in MatSeqAIJCUSPARSEMergeMats()
5014 …PetscBool AT = Acusp->matTranspose ? PETSC_TRUE : PETSC_FALSE, BT = Bcusp->matTranspose ? PETSC_T… in MatSeqAIJCUSPARSEMergeMats()
5016 CsrMatrix *BcsrT = BT ? (CsrMatrix *)Bcusp->matTranspose->mat : NULL; in MatSeqAIJCUSPARSEMergeMats()