Home
last modified time | relevance | path

Searched refs:AjLo (Results 1 – 2 of 2) sorted by relevance

/petsc/src/mat/impls/aij/seq/seqhipsparse/
H A Daijhipsparse.hip.cxx269 PetscInt *AiLo, *AjLo; in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() local
284 PetscCallHIP(hipHostMalloc((void **)&AjLo, nzLower * sizeof(PetscInt))); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()
289 AjLo[0] = (PetscInt)0; in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()
301 PetscCall(PetscArraycpy(&AjLo[offset], vi, nz)); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()
304 AjLo[offset] = (PetscInt)i; in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()
334 loTriFactor->csrMat->column_indices->assign(AjLo, AjLo + nzLower); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()
355 PetscCallHIP(hipHostFree(AjLo)); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()
/petsc/src/mat/impls/aij/seq/seqcusparse/
H A Daijcusparse.cu314 PetscInt *AiLo, *AjLo; in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() local
330 PetscCallCUDA(cudaMallocHost((void **)&AjLo, nzLower * sizeof(PetscInt))); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()
335 AjLo[0] = (PetscInt)0; in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()
347 PetscCall(PetscArraycpy(&AjLo[offset], vi, nz)); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()
351 AjLo[offset] = (PetscInt)i; in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()
386 loTriFactor->csrMat->column_indices->assign(AjLo, AjLo + nzLower); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()
410 PetscCallCUDA(cudaFreeHost(AjLo)); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()