Searched refs:AA_h (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/mat/impls/aij/seq/seqhipsparse/ |
| H A D | aijhipsparse.hip.cxx | 353 loTriFactor->AA_h = AALo; in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 358 …if (!loTriFactor->AA_h) PetscCallHIP(hipHostMalloc((void **)&loTriFactor->AA_h, nzLower * sizeof(P… in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 360 loTriFactor->AA_h[0] = 1.0; in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 366 PetscCall(PetscArraycpy(&loTriFactor->AA_h[offset], v, nz)); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 368 loTriFactor->AA_h[offset] = 1.0; in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 372 loTriFactor->csrMat->values->assign(loTriFactor->AA_h, loTriFactor->AA_h + nzLower); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 469 upTriFactor->AA_h = AAUp; in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix() 474 …if (!upTriFactor->AA_h) PetscCallHIP(hipHostMalloc((void **)&upTriFactor->AA_h, nzUpper * sizeof(P… in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix() 483 upTriFactor->AA_h[offset] = 1. / v[nz]; in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix() 484 PetscCall(PetscArraycpy(&upTriFactor->AA_h[offset + 1], v, nz)); in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix() [all …]
|
| H A D | hipsparsematimpl.h | 195 PetscScalar *AA_h; /* managed host buffer for moving values to the GPU */ member
|
| /petsc/src/mat/impls/aij/seq/seqcusparse/ |
| H A D | aijcusparse.cu | 408 loTriFactor->AA_h = AALo; in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 413 …if (!loTriFactor->AA_h) PetscCallCUDA(cudaMallocHost((void **)&loTriFactor->AA_h, nzLower * sizeof… in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 415 loTriFactor->AA_h[0] = 1.0; in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 421 PetscCall(PetscArraycpy(&loTriFactor->AA_h[offset], v, nz)); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 423 loTriFactor->AA_h[offset] = 1.0; in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 427 loTriFactor->csrMat->values->assign(loTriFactor->AA_h, loTriFactor->AA_h + nzLower); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 538 upTriFactor->AA_h = AAUp; in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix() 543 …if (!upTriFactor->AA_h) PetscCallCUDA(cudaMallocHost((void **)&upTriFactor->AA_h, nzUpper * sizeof… in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix() 556 upTriFactor->AA_h[offset] = 1. / v[nz]; in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix() 557 PetscCall(PetscArraycpy(&upTriFactor->AA_h[offset + 1], v, nz)); in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix() [all …]
|
| H A D | cusparsematimpl.h | 208 PetscScalar *AA_h; /* managed host buffer for moving values to the GPU */ member
|