Lines Matching refs:matstructT

1219   Mat_SeqAIJCUSPARSEMultStruct *matstruct, *matstructT;  in MatSeqAIJCUSPARSEFormExplicitTranspose()  local
1228 matstructT = (Mat_SeqAIJCUSPARSEMultStruct *)cusparsestruct->matTranspose; in MatSeqAIJCUSPARSEFormExplicitTranspose()
1229 …PetscCheck(!A->transupdated || matstructT, PETSC_COMM_SELF, PETSC_ERR_GPU, "Missing matTranspose s… in MatSeqAIJCUSPARSEFormExplicitTranspose()
1235 matstructT = new Mat_SeqAIJCUSPARSEMultStruct; in MatSeqAIJCUSPARSEFormExplicitTranspose()
1236 PetscCallCUSPARSE(cusparseCreateMatDescr(&matstructT->descr)); in MatSeqAIJCUSPARSEFormExplicitTranspose()
1238 PetscCallCUSPARSE(cusparseSetMatIndexBase(matstructT->descr, indexBase)); in MatSeqAIJCUSPARSEFormExplicitTranspose()
1239 PetscCallCUSPARSE(cusparseSetMatType(matstructT->descr, CUSPARSE_MATRIX_TYPE_GENERAL)); in MatSeqAIJCUSPARSEFormExplicitTranspose()
1242 PetscCallCUDA(cudaMalloc((void **)&matstructT->alpha_one, sizeof(PetscScalar))); in MatSeqAIJCUSPARSEFormExplicitTranspose()
1243 PetscCallCUDA(cudaMalloc((void **)&matstructT->beta_zero, sizeof(PetscScalar))); in MatSeqAIJCUSPARSEFormExplicitTranspose()
1244 PetscCallCUDA(cudaMalloc((void **)&matstructT->beta_one, sizeof(PetscScalar))); in MatSeqAIJCUSPARSEFormExplicitTranspose()
1245 …PetscCallCUDA(cudaMemcpy(matstructT->alpha_one, &PETSC_CUSPARSE_ONE, sizeof(PetscScalar), cudaMemc… in MatSeqAIJCUSPARSEFormExplicitTranspose()
1246 …PetscCallCUDA(cudaMemcpy(matstructT->beta_zero, &PETSC_CUSPARSE_ZERO, sizeof(PetscScalar), cudaMem… in MatSeqAIJCUSPARSEFormExplicitTranspose()
1247 …PetscCallCUDA(cudaMemcpy(matstructT->beta_one, &PETSC_CUSPARSE_ONE, sizeof(PetscScalar), cudaMemcp… in MatSeqAIJCUSPARSEFormExplicitTranspose()
1251 matstructT->mat = matrixT; in MatSeqAIJCUSPARSEFormExplicitTranspose()
1264 …stat = cusparseCreateCsr(&matstructT->matDescr, matrixT->num_rows, matrixT->num_cols, matrixT->num… in MatSeqAIJCUSPARSEFormExplicitTranspose()
1276 …stat = cusparseCreateCsr(&matstructT->matDescr, matrixT->num_rows, matrixT->num_cols, matrixT->num… in MatSeqAIJCUSPARSEFormExplicitTranspose()
1280 matstructT->matDescr = NULL; in MatSeqAIJCUSPARSEFormExplicitTranspose()
1318 … = cusparse_csr2hyb(cusparsestruct->handle, A->rmap->n, A->cmap->n, matstructT->descr, tempT->v… in MatSeqAIJCUSPARSEFormExplicitTranspose()
1322 matstructT->mat = hybMat; in MatSeqAIJCUSPARSEFormExplicitTranspose()
1342 CsrMatrix *matrixT = (CsrMatrix *)matstructT->mat; in MatSeqAIJCUSPARSEFormExplicitTranspose()
1402 matstructT->cprowIndices = NULL; in MatSeqAIJCUSPARSEFormExplicitTranspose()
1404 ((Mat_SeqAIJCUSPARSE *)A->spptr)->matTranspose = matstructT; in MatSeqAIJCUSPARSEFormExplicitTranspose()