Lines Matching refs:hmatrix

141   HMatrix *hmatrix;  member
209 delete a->hmatrix; in MatDestroy_H2OPUS()
386 …PetscCheck(h2opus->hmatrix, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing CPU matrix"); in MatMultNKernel_H2OPUS()
387 …hgemv(transA ? H2Opus_Trans : H2Opus_NoTrans, h2opus->s, *h2opus->hmatrix, uxx, blda, 0.0, uyy, cl… in MatMultNKernel_H2OPUS()
566 …PetscCheck(h2opus->hmatrix, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing CPU matrix"); in MatMultKernel_H2OPUS()
567 …hgemv(trans ? H2Opus_Trans : H2Opus_NoTrans, h2opus->s, *h2opus->hmatrix, uxx, n, sy, uyy, n, 1, h… in MatMultKernel_H2OPUS()
784 iidx = MatH2OpusGetThrustPointer(a->hmatrix->u_basis_tree.index_map); in MatSetUpMultiply_H2OPUS()
785 n = a->hmatrix->u_basis_tree.index_map.size(); in MatSetUpMultiply_H2OPUS()
860 delete a->hmatrix; in MatAssemblyEnd_H2OPUS()
878 } else a->hmatrix = new HMatrix(A->rmap->n, A->symmetric == PETSC_BOOL3_TRUE); in MatAssemblyEnd_H2OPUS()
889 buildHMatrix(*a->hmatrix, a->ptcloud, adm, entry_gen, a->leafsize, a->basisord); in MatAssemblyEnd_H2OPUS()
894 buildHMatrixStructure(*a->hmatrix, a->ptcloud, a->leafsize, adm); in MatAssemblyEnd_H2OPUS()
907 a->hmatrix_gpu = new HMatrix_GPU(*a->hmatrix); in MatAssemblyEnd_H2OPUS()
920 …->sf && !a->nativemult) a->sampler->SetIndexMap(a->hmatrix->u_basis_tree.index_map.size(), a->hmat… in MatAssemblyEnd_H2OPUS()
924 …hara(a->sampler, *a->hmatrix, a->max_rank, 10 /* TODO */, a->rtol * Anorm, a->bs, handle, verbose); in MatAssemblyEnd_H2OPUS()
936 delete a->hmatrix; in MatAssemblyEnd_H2OPUS()
938 a->hmatrix = NULL; in MatAssemblyEnd_H2OPUS()
1012 a->hmatrix->clearData(); in MatZeroEntries_H2OPUS()
1052 if (b->hmatrix) { in MatDuplicate_H2OPUS()
1053 a->hmatrix = new HMatrix(*b->hmatrix); in MatDuplicate_H2OPUS()
1054 if (op == MAT_DO_NOT_COPY_VALUES) a->hmatrix->clearData(); in MatDuplicate_H2OPUS()
1105 dumpHMatrix(*h2opus->hmatrix, 6, fp); in MatView_H2OPUS()
1118 double dense_mem_cpu = h2opus->hmatrix ? h2opus->hmatrix->getDenseMemoryUsage() : 0; in MatView_H2OPUS()
1119 double low_rank_cpu = h2opus->hmatrix ? h2opus->hmatrix->getLowRankMemoryUsage() : 0; in MatView_H2OPUS()
1161 outputEps(*h2opus->hmatrix, filename); in MatView_H2OPUS()
1225 if (!a->hmatrix) a->hmatrix = new HMatrix(*a->hmatrix_gpu); in MatBindToCPU_H2OPUS()
1226 else *a->hmatrix = *a->hmatrix_gpu; in MatBindToCPU_H2OPUS()
1241 PetscCheck(a->hmatrix, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing CPU matrix"); in MatBindToCPU_H2OPUS()
1242 if (!a->hmatrix_gpu) a->hmatrix_gpu = new HMatrix_GPU(*a->hmatrix); in MatBindToCPU_H2OPUS()
1243 else *a->hmatrix_gpu = *a->hmatrix; in MatBindToCPU_H2OPUS()
1245 delete a->hmatrix; in MatBindToCPU_H2OPUS()
1247 a->hmatrix = NULL; in MatBindToCPU_H2OPUS()
1388 PetscCheck(a->hmatrix, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing CPU matrix"); in MatH2OpusOrthogonalize()
1389 horthog(*a->hmatrix, handle); in MatH2OpusOrthogonalize()
1484 PetscCheck(a->hmatrix, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing CPU matrix"); in MatH2OpusCompress()
1485 hcompress(*a->hmatrix, tol, handle); in MatH2OpusCompress()
1488 HMatrix *hmatrix = new HMatrix(*a->hmatrix); in MatH2OpusCompress() local
1489 delete a->hmatrix; in MatH2OpusCompress()
1490 a->hmatrix = hmatrix; in MatH2OpusCompress()
1863 PetscCheck(a->hmatrix, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing CPU matrix"); in MatH2OpusLowRankUpdate()
1879 hlru_global(*a->hmatrix, uu, ldu, vv, ldv, U->cmap->N, s, handle); in MatH2OpusLowRankUpdate()