Home
last modified time | relevance | path

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

/petsc/src/mat/impls/aij/seq/seqhipsparse/
H A Daijhipsparse.hip.cxx390 PetscInt *AiUp, *AjUp; in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix() local
406 PetscCallHIP(hipHostMalloc((void **)&AjUp, nzUpper * sizeof(PetscInt))); in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix()
419 AjUp[offset] = (PetscInt)i; in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix()
423 PetscCall(PetscArraycpy(&AjUp[offset + 1], vi, nz)); in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix()
450 upTriFactor->csrMat->column_indices->assign(AjUp, AjUp + nzUpper); in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix()
471 PetscCallHIP(hipHostFree(AjUp)); in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix()
544 PetscInt *AiUp, *AjUp; in MatSeqAIJHIPSPARSEBuildICCTriMatrices() local
561 PetscCallHIP(hipHostMalloc((void **)&AjUp, nzUpper * sizeof(PetscInt))); in MatSeqAIJHIPSPARSEBuildICCTriMatrices()
574 AjUp[offset] = (PetscInt)i; in MatSeqAIJHIPSPARSEBuildICCTriMatrices()
581 PetscCall(PetscArraycpy(&AjUp[offset], vj, nz)); in MatSeqAIJHIPSPARSEBuildICCTriMatrices()
[all …]
/petsc/src/mat/impls/aij/seq/seqcusparse/
H A Daijcusparse.cu445 PetscInt *AiUp, *AjUp; in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix() local
462 PetscCallCUDA(cudaMallocHost((void **)&AjUp, nzUpper * sizeof(PetscInt))); in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix()
479 AjUp[offset] = (PetscInt)i; in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix()
483 PetscCall(PetscArraycpy(&AjUp[offset + 1], vi, nz)); in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix()
515 upTriFactor->csrMat->column_indices->assign(AjUp, AjUp + nzUpper); in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix()
540 PetscCallCUDA(cudaFreeHost(AjUp)); in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix()
779 PetscInt *AiUp, *AjUp; in MatSeqAIJCUSPARSEBuildICCTriMatrices() local
796 PetscCallCUDA(cudaMallocHost((void **)&AjUp, nzUpper * sizeof(PetscInt))); in MatSeqAIJCUSPARSEBuildICCTriMatrices()
809 AjUp[offset] = (PetscInt)i; in MatSeqAIJCUSPARSEBuildICCTriMatrices()
816 PetscCall(PetscArraycpy(&AjUp[offset], vj, nz)); in MatSeqAIJCUSPARSEBuildICCTriMatrices()
[all …]