Home
last modified time | relevance | path

Searched refs:chunksize (Results 1 – 9 of 9) sorted by relevance

/petsc/src/vec/is/is/impls/general/
H A Dgeneral.c305 hsize_t chunksize; in ISView_General_HDF5() local
328 chunksize = 1; in ISView_General_HDF5()
341 chunksize *= chunkDims[dim]; in ISView_General_HDF5()
347 chunksize *= chunkDims[dim]; in ISView_General_HDF5()
351 if (chunksize > PETSC_HDF5_MAX_CHUNKSIZE / 64) { in ISView_General_HDF5()
/petsc/src/mat/impls/sell/seq/
H A Dsell.c1490 if (!a->chunksize && a->totalslices) { in MatAssemblyEnd_SeqSELL()
1491 a->chunksize = 64; in MatAssemblyEnd_SeqSELL()
1492 …while (a->chunksize < 1024 && 2 * a->chunksize <= a->sliidx[a->totalslices] / a->totalslices) a->c… in MatAssemblyEnd_SeqSELL()
1493 totalchunks = 1 + (a->sliidx[a->totalslices] - 1) / a->chunksize; in MatAssemblyEnd_SeqSELL()
1502 while (a->sliidx[j + 1] <= i * a->chunksize && j < a->totalslices) j++; in MatAssemblyEnd_SeqSELL()
2200 PetscInt chunksize = 0; in MatCreate_SeqSELL() local
2206 …lanced CUDA/HIP kernels. Choices include 64,128,256,512,1024", NULL, chunksize, &chunksize, &flg)); in MatCreate_SeqSELL()
2208chunksize >= 64 && chunksize <= 1024 && chunksize % 64 == 0, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG,… in MatCreate_SeqSELL()
2209 b->chunksize = chunksize; in MatCreate_SeqSELL()
H A Dsell.h56 PetscInt chunksize; /* chunk size, CUDA only */ \
/petsc/src/vec/vec/impls/mpi/
H A Dpdvec.c463 hsize_t chunksize; in VecView_MPI_HDF5() local
487 chunksize = 1; in VecView_MPI_HDF5()
498 chunksize *= chunkDims[dim]; in VecView_MPI_HDF5()
504 chunksize *= chunkDims[dim]; in VecView_MPI_HDF5()
511 chunksize *= chunkDims[dim]; in VecView_MPI_HDF5()
513 if (chunksize > PETSC_HDF5_MAX_CHUNKSIZE / 64) { in VecView_MPI_HDF5()
524 if (chunksize > PETSC_HDF5_MAX_CHUNKSIZE / 64) { in VecView_MPI_HDF5()
/petsc/src/mat/impls/sell/seq/seqhip/
H A Dsellhip.hip.cxx662 PetscInt blocky = a->chunksize / 32; in MatMult_SeqSELLHIP()
664 …struct->chunksperblock : 1 + (hipstruct->totalentries / hipstruct->totalslices - 1) / a->chunksize; in MatMult_SeqSELLHIP()
755 blocky = a->chunksize / 32; in MatMultAdd_SeqSELLHIP()
756 …struct->chunksperblock : 1 + (hipstruct->totalentries / hipstruct->totalslices - 1) / a->chunksize; in MatMultAdd_SeqSELLHIP()
817 blocky = a->chunksize / 32; in MatMultAdd_SeqSELLHIP()
818 …struct->chunksperblock : 1 + (hipstruct->totalentries / hipstruct->totalslices - 1) / a->chunksize; in MatMultAdd_SeqSELLHIP()
/petsc/src/mat/impls/sell/seq/seqcuda/
H A Dsellcuda.cu660 PetscInt blocky = a->chunksize / 32; in MatMult_SeqSELLCUDA()
662 …ruct->chunksperblock : 1 + (cudastruct->totalentries / cudastruct->totalslices - 1) / a->chunksize; in MatMult_SeqSELLCUDA()
757 blocky = a->chunksize / 32; in MatMultAdd_SeqSELLCUDA()
758 …ruct->chunksperblock : 1 + (cudastruct->totalentries / cudastruct->totalslices - 1) / a->chunksize; in MatMultAdd_SeqSELLCUDA()
822 blocky = a->chunksize / 32; in MatMultAdd_SeqSELLCUDA()
823 …ruct->chunksperblock : 1 + (cudastruct->totalentries / cudastruct->totalslices - 1) / a->chunksize; in MatMultAdd_SeqSELLCUDA()
/petsc/src/ksp/ksp/impls/fcg/
H A Dfcg.c14 static PetscErrorCode KSPAllocateVectors_FCG(KSP ksp, PetscInt nvecsneeded, PetscInt chunksize) in KSPAllocateVectors_FCG() argument
24 nnewvecs = PetscMin(PetscMax(nvecsneeded - fcg->nvecs, chunksize), fcg->mmax + 1 - fcg->nvecs); in KSPAllocateVectors_FCG()
/petsc/src/ksp/ksp/impls/fcg/pipefcg/
H A Dpipefcg.c22 static PetscErrorCode KSPAllocateVectors_PIPEFCG(KSP ksp, PetscInt nvecsneeded, PetscInt chunksize) in KSPAllocateVectors_PIPEFCG() argument
34 …nnewvecs = PetscMin(PetscMax(nvecsneeded - pipefcg->nvecs, chunksize), pipefcg->mmax + 1 - pipefc… in KSPAllocateVectors_PIPEFCG()
/petsc/src/ksp/ksp/impls/gcr/pipegcr/
H A Dpipegcr.c26 static PetscErrorCode KSPAllocateVectors_PIPEGCR(KSP ksp, PetscInt nvecsneeded, PetscInt chunksize) in KSPAllocateVectors_PIPEGCR() argument
38 …nnewvecs = PetscMin(PetscMax(nvecsneeded - pipegcr->nvecs, chunksize), pipegcr->mmax + 1 - pipegc… in KSPAllocateVectors_PIPEGCR()