Lines Matching refs:hmatrix_gpu

156   HMatrix_GPU *hmatrix_gpu;  member
216 delete a->hmatrix_gpu; in MatDestroy_H2OPUS()
426 …PetscCheck(h2opus->hmatrix_gpu, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing GPU matr… in MatMultNKernel_H2OPUS()
427 …hgemv(transA ? H2Opus_Trans : H2Opus_NoTrans, h2opus->s, *h2opus->hmatrix_gpu, uxx, blda, 0.0, uyy… in MatMultNKernel_H2OPUS()
609 …PetscCheck(h2opus->hmatrix_gpu, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing GPU matr… in MatMultKernel_H2OPUS()
610 …hgemv(trans ? H2Opus_Trans : H2Opus_NoTrans, h2opus->s, *h2opus->hmatrix_gpu, uxx, n, sy, uyy, n, … in MatMultKernel_H2OPUS()
863 delete a->hmatrix_gpu; in MatAssemblyEnd_H2OPUS()
907 a->hmatrix_gpu = new HMatrix_GPU(*a->hmatrix); in MatAssemblyEnd_H2OPUS()
928 …hara(a->sampler, *a->hmatrix_gpu, a->max_rank, 10 /* TODO */, a->rtol * Anorm, a->bs, handle, verb… in MatAssemblyEnd_H2OPUS()
1014 if (a->hmatrix_gpu) a->hmatrix_gpu->clearData(); in MatZeroEntries_H2OPUS()
1057 if (b->hmatrix_gpu) { in MatDuplicate_H2OPUS()
1058 a->hmatrix_gpu = new HMatrix_GPU(*b->hmatrix_gpu); in MatDuplicate_H2OPUS()
1059 if (op == MAT_DO_NOT_COPY_VALUES) a->hmatrix_gpu->clearData(); in MatDuplicate_H2OPUS()
1121 double dense_mem_gpu = h2opus->hmatrix_gpu ? h2opus->hmatrix_gpu->getDenseMemoryUsage() : 0; in MatView_H2OPUS()
1122 … double low_rank_gpu = h2opus->hmatrix_gpu ? h2opus->hmatrix_gpu->getLowRankMemoryUsage() : 0; in MatView_H2OPUS()
1224 … PetscCheck(a->hmatrix_gpu, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing GPU matrix"); in MatBindToCPU_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()
1228 delete a->hmatrix_gpu; in MatBindToCPU_H2OPUS()
1230 a->hmatrix_gpu = NULL; 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()
1393 … PetscCheck(a->hmatrix_gpu, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing GPU matrix"); in MatH2OpusOrthogonalize()
1395 horthog(*a->hmatrix_gpu, handle); in MatH2OpusOrthogonalize()
1495 … PetscCheck(a->hmatrix_gpu, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing GPU matrix"); in MatH2OpusCompress()
1497 hcompress(*a->hmatrix_gpu, tol, handle); in MatH2OpusCompress()
1501 HMatrix_GPU *hmatrix_gpu = new HMatrix_GPU(*a->hmatrix_gpu); in MatH2OpusCompress() local
1502 delete a->hmatrix_gpu; in MatH2OpusCompress()
1503 a->hmatrix_gpu = hmatrix_gpu; in MatH2OpusCompress()
1886 … PetscCheck(a->hmatrix_gpu, PetscObjectComm((PetscObject)A), PETSC_ERR_PLIB, "Missing GPU matrix"); in MatH2OpusLowRankUpdate()
1909 hlru_global(*a->hmatrix_gpu, uu, ldu, vv, ldv, U->cmap->N, s, handle); in MatH2OpusLowRankUpdate()