Searched refs:nzLower (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/mat/impls/aij/seq/seqhipsparse/ |
| H A D | aijhipsparse.hip.cxx | 270 PetscInt i, nz, nzLower, offset, rowOffset; in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() local 277 nzLower = n + ai[n] - ai[1]; in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 280 PetscCallHIP(hipHostMalloc((void **)&AALo, nzLower * sizeof(PetscScalar))); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 284 PetscCallHIP(hipHostMalloc((void **)&AjLo, nzLower * sizeof(PetscInt))); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 288 AiLo[n] = nzLower; in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 328 loTriFactor->csrMat->num_entries = nzLower; in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 330 loTriFactor->csrMat->column_indices = new THRUSTINTARRAY32(nzLower); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 331 loTriFactor->csrMat->values = new THRUSTARRAY(nzLower); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 334 loTriFactor->csrMat->column_indices->assign(AjLo, AjLo + nzLower); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 335 loTriFactor->csrMat->values->assign(AALo, AALo + nzLower); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() [all …]
|
| /petsc/src/mat/impls/aij/seq/seqcusparse/ |
| H A D | aijcusparse.cu | 315 PetscInt i, nz, nzLower, offset, rowOffset; in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() local 322 nzLower = n + ai[n] - ai[1]; in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 326 PetscCallCUDA(cudaMallocHost((void **)&AALo, nzLower * sizeof(PetscScalar))); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 330 PetscCallCUDA(cudaMallocHost((void **)&AjLo, nzLower * sizeof(PetscInt))); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 334 AiLo[n] = nzLower; in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 380 loTriFactor->csrMat->num_entries = nzLower; in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 385 loTriFactor->csrMat->column_indices = new THRUSTINTARRAY32(nzLower); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 386 loTriFactor->csrMat->column_indices->assign(AjLo, AjLo + nzLower); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 388 loTriFactor->csrMat->values = new THRUSTARRAY(nzLower); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 389 loTriFactor->csrMat->values->assign(AALo, AALo + nzLower); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() [all …]
|