Lines Matching refs:sampler
168 PetscMatrixSampler *sampler; member
222 delete a->sampler; in MatDestroy_H2OPUS()
732 if (!c && a->sampler) { in MatH2OpusInferCoordinates_Private()
733 Mat S = a->sampler->GetSamplingMat(); in MatH2OpusInferCoordinates_Private()
912 if (!kernel && a->sampler && a->sampler->GetSamplingMat()) { in MatAssemblyEnd_H2OPUS()
918 …PetscCall(MatApproximateNorm_Private(a->sampler->GetSamplingMat(), NORM_2, a->norm_max_samples, &A… in MatAssemblyEnd_H2OPUS()
920 …if (a->sf && !a->nativemult) a->sampler->SetIndexMap(a->hmatrix->u_basis_tree.index_map.size(), a-… in MatAssemblyEnd_H2OPUS()
921 a->sampler->SetStream(handle->getMainStream()); in MatAssemblyEnd_H2OPUS()
923 a->sampler->SetGPUSampling(false); in MatAssemblyEnd_H2OPUS()
924 …hara(a->sampler, *a->hmatrix, a->max_rank, 10 /* TODO */, a->rtol * Anorm, a->bs, handle, verbose); in MatAssemblyEnd_H2OPUS()
927 a->sampler->SetGPUSampling(true); 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()
960 Ae = a->sampler->GetSamplingMat(); in MatAssemblyEnd_H2OPUS()
999 a->sampler->SetSamplingMat(NULL); in MatAssemblyEnd_H2OPUS()
1555 if (!a->sampler) a->sampler = new PetscMatrixSampler(); in MatH2OpusSetSamplingMat()
1556 a->sampler->SetSamplingMat(B); in MatH2OpusSetSamplingMat()
1696 h2opus->sampler = new PetscMatrixSampler(B); in MatCreateH2OpusFromMat()