Home
last modified time | relevance | path

Searched refs:chunkSize (Results 1 – 5 of 5) sorted by relevance

/petsc/src/dm/dt/fe/tests/
H A Dex2.c241 PetscInt depth, cStart, cEnd, cell, chunkSize = cbs, Nch = 0, Nf, f, totDim, i, k; in TestIntegration() local
251 PetscCall(PetscMalloc2(chunkSize * totDim, &u, chunkSize * totDim, &elemVec)); in TestIntegration()
259 for (cell = cStart; cell < cEnd; cell += chunkSize, ++Nch) { in TestIntegration()
260 const PetscInt cS = cell, cE = PetscMin(cS + chunkSize, cEnd), Ne = cE - cS; in TestIntegration()
262 PetscCall(PetscArrayzero(elemVec, chunkSize * totDim)); in TestIntegration()
264 for (k = 0; k < chunkSize * totDim; ++k) u[k] = 1.0; in TestIntegration()
H A Dex1.c188 PetscInt depth, cStart, cEnd, cell, chunkSize = cbs, Nch = 0, Nf, f, totDim, i, k; in TestIntegration() local
203 PetscCall(PetscMalloc2(chunkSize * totDim, &u, chunkSize * totDim, &elemVec)); in TestIntegration()
211 for (cell = cStart; cell < cEnd; cell += chunkSize, ++Nch) { in TestIntegration()
212 const PetscInt cS = cell, cE = PetscMin(cS + chunkSize, cEnd), Ne = cE - cS; in TestIntegration()
214 PetscCall(PetscArrayzero(elemVec, chunkSize * totDim)); in TestIntegration()
216 for (k = 0; k < chunkSize * totDim; ++k) u[k] = 1.0; in TestIntegration()
/petsc/config/BuildSystem/
H A DsourceDatabase.py142 def getChecksum(source, chunkSize = 1024*1024): argument
150 size = chunkSize
/petsc/src/dm/impls/plex/
H A Dplexfem.c2768 PetscInt numChunks, chunkSize, chunk, Nr, offset; in DMPlexComputeBdIntegral_Internal() local
2813 chunkSize = numBatches * batchSize; in DMPlexComputeBdIntegral_Internal()
2815 numChunks = numFaces / chunkSize; in DMPlexComputeBdIntegral_Internal()
2816 Nr = numFaces % chunkSize; in DMPlexComputeBdIntegral_Internal()
2821 … PetscCall(PetscFEGeomGetChunk(fgeom, chunk * chunkSize, (chunk + 1) * chunkSize, &chunkGeom)); in DMPlexComputeBdIntegral_Internal()
2822chunkSize, chunkGeom, &u[chunk * chunkSize * totDim], probAux, PetscSafePointerPlusOffset(a, chunk… in DMPlexComputeBdIntegral_Internal()
4634 …PetscInt Nf, fieldI, fieldJ, maxDegree, numCells, cStart, cEnd, numChunks, chunkSize, chunk… in DMPlexComputeJacobian_Patch_Internal() local
4683 chunkSize = numBatches * batchSize; in DMPlexComputeJacobian_Patch_Internal()
4684 numChunks = numCells / chunkSize + numCells % chunkSize; in DMPlexComputeJacobian_Patch_Internal()
4687 chunkSize = numCells; in DMPlexComputeJacobian_Patch_Internal()
[all …]
/petsc/config/BuildSystem/config/
H A Dpackage.py554 def getChecksum(self,source, chunkSize = 1024*1024): argument
562 size = chunkSize