Lines Matching refs:dist_hmatrix

143   DistributedHMatrix *dist_hmatrix;  member
145 HMatrix *dist_hmatrix; /* just to not clutter the code */ member
208 delete a->dist_hmatrix; in MatDestroy_H2OPUS()
380 …PetscCheck(h2opus->dist_hmatrix, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing distrib… in MatMultNKernel_H2OPUS()
383 …emv(/* transA ? H2Opus_Trans : H2Opus_NoTrans, */ h2opus->s, *h2opus->dist_hmatrix, uxx, blda, 0.0… in MatMultNKernel_H2OPUS()
560 …PetscCheck(h2opus->dist_hmatrix, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing distrib… in MatMultKernel_H2OPUS()
563 …hgemv(/*trans ? H2Opus_Trans : H2Opus_NoTrans, */ h2opus->s, *h2opus->dist_hmatrix, uxx, n, sy, uy… in MatMultKernel_H2OPUS()
778 …PetscCheck(a->dist_hmatrix, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing distributed … in MatSetUpMultiply_H2OPUS()
780 iidx = MatH2OpusGetThrustPointer(a->dist_hmatrix->basis_tree.basis_branch.index_map); in MatSetUpMultiply_H2OPUS()
781 n = a->dist_hmatrix->basis_tree.basis_branch.index_map.size(); in MatSetUpMultiply_H2OPUS()
861 delete a->dist_hmatrix; in MatAssemblyEnd_H2OPUS()
874 a->dist_hmatrix = new DistributedHMatrix(A->rmap->n /* ,A->symmetric */); in MatAssemblyEnd_H2OPUS()
876 a->dist_hmatrix = NULL; in MatAssemblyEnd_H2OPUS()
884 …PetscCheck(a->dist_hmatrix, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing distributed … in MatAssemblyEnd_H2OPUS()
886 …buildDistributedHMatrix(*a->dist_hmatrix, a->ptcloud, adm, entry_gen, a->leafsize, a->basisord, a-… in MatAssemblyEnd_H2OPUS()
902 …PetscCheck(a->dist_hmatrix, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing distributed … in MatAssemblyEnd_H2OPUS()
904 a->dist_hmatrix_gpu = new DistributedHMatrix_GPU(*a->dist_hmatrix); in MatAssemblyEnd_H2OPUS()
937 delete a->dist_hmatrix; in MatAssemblyEnd_H2OPUS()
939 a->dist_hmatrix = NULL; in MatAssemblyEnd_H2OPUS()
1047 if (b->dist_hmatrix) a->dist_hmatrix = new DistributedHMatrix(*b->dist_hmatrix); in MatDuplicate_H2OPUS()
1137 matrix_mem[0] = h2opus->dist_hmatrix ? h2opus->dist_hmatrix->getLocalDenseMemoryUsage() : 0; in MatView_H2OPUS()
1138 … matrix_mem[1] = h2opus->dist_hmatrix ? h2opus->dist_hmatrix->getLocalLowRankMemoryUsage() : 0; in MatView_H2OPUS()
1220 if (!a->dist_hmatrix) a->dist_hmatrix = new DistributedHMatrix(*a->dist_hmatrix_gpu); in MatBindToCPU_H2OPUS()
1221 else *a->dist_hmatrix = *a->dist_hmatrix_gpu; in MatBindToCPU_H2OPUS()
1235 …PetscCheck(a->dist_hmatrix, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing CPU matrix"); in MatBindToCPU_H2OPUS()
1237 if (!a->dist_hmatrix_gpu) a->dist_hmatrix_gpu = new DistributedHMatrix_GPU(*a->dist_hmatrix); in MatBindToCPU_H2OPUS()
1238 else *a->dist_hmatrix_gpu = *a->dist_hmatrix; in MatBindToCPU_H2OPUS()
1246 delete a->dist_hmatrix; in MatBindToCPU_H2OPUS()
1248 a->dist_hmatrix = NULL; in MatBindToCPU_H2OPUS()
1366 …PetscCheck(a->dist_hmatrix, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing CPU matrix"); in MatH2OpusOrthogonalize()
1368 distributed_horthog(*a->dist_hmatrix, a->handle); in MatH2OpusOrthogonalize()
1451 …PetscCheck(a->dist_hmatrix, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing CPU matrix"); in MatH2OpusCompress()
1453 distributed_hcompress(*a->dist_hmatrix, tol, a->handle); in MatH2OpusCompress()
1455 DistributedHMatrix *dist_hmatrix = new DistributedHMatrix(*a->dist_hmatrix); in MatH2OpusCompress() local
1456 delete a->dist_hmatrix; in MatH2OpusCompress()
1457 a->dist_hmatrix = dist_hmatrix; in MatH2OpusCompress()