Searched refs:maxallocmat (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/mat/impls/sell/seq/ |
| H A D | sell.h | 22 PetscInt maxallocmat; /* max allocated space for the matrix */ \ 95 PetscInt new_size = Ain->maxallocmat + SH * MUL, *new_colidx; \ 117 Ain->maxallocmat = new_size; \ 150 if (a->maxallocmat < a->sliidx[a->totalslices] + a->sliceheight) { \ 152 PetscInt new_size = a->maxallocmat + a->sliceheight, *new_colidx; \ 170 a->maxallocmat = new_size; \
|
| H A D | sell.c | 198 b->maxallocmat = b->sliidx[totalslices]; in MatSeqSELLSetPreallocation_SeqSELL() 199 B->info.nz_unneeded = (double)b->maxallocmat; in MatSeqSELLSetPreallocation_SeqSELL() 1448 …nonzeros+%" PetscInt_FMT " paddedzeros)\n", A->rmap->n, A->cmap->n, a->maxallocmat, a->sliidx[a->t… in MatAssemblyEnd_SeqSELL() 1515 info->nz_allocated = a->maxallocmat; in MatGetInfo_SeqSELL() 1517 info->nz_unneeded = (a->maxallocmat - a->sliidx[a->totalslices]); in MatGetInfo_SeqSELL() 2246 PetscCall(PetscMalloc2(a->maxallocmat, &c->val, a->maxallocmat, &c->colidx)); in MatDuplicateNoCreate_SeqSELL() 2251 PetscCall(PetscArraycpy(c->colidx, a->colidx, a->maxallocmat)); in MatDuplicateNoCreate_SeqSELL() 2253 PetscCall(PetscArraycpy(c->val, a->val, a->maxallocmat)); in MatDuplicateNoCreate_SeqSELL() 2255 PetscCall(PetscArrayzero(c->val, a->maxallocmat)); in MatDuplicateNoCreate_SeqSELL() 2271 c->maxallocmat = a->maxallocmat; in MatDuplicateNoCreate_SeqSELL()
|
| /petsc/src/mat/impls/sell/seq/seqhip/ |
| H A D | sellhip.hip.cxx | 11 PetscInt maxallocmat; member 55 hipstruct->maxallocmat = a->maxallocmat; in MatSeqSELLHIPCopyToGPU() 59 … PetscCallHIP(hipMalloc((void **)&hipstruct->colidx, a->maxallocmat * sizeof(*hipstruct->colidx))); in MatSeqSELLHIPCopyToGPU() 60 PetscCallHIP(hipMalloc((void **)&hipstruct->val, a->maxallocmat * sizeof(*hipstruct->val))); in MatSeqSELLHIPCopyToGPU()
|
| /petsc/src/mat/impls/sell/seq/seqcuda/ |
| H A D | sellcuda.cu | 8 PetscInt maxallocmat; member 52 cudastruct->maxallocmat = a->maxallocmat; in MatSeqSELLCUDACopyToGPU() 56 …PetscCallCUDA(cudaMalloc((void **)&cudastruct->colidx, a->maxallocmat * sizeof(*cudastruct->colidx… in MatSeqSELLCUDACopyToGPU() 57 … PetscCallCUDA(cudaMalloc((void **)&cudastruct->val, a->maxallocmat * sizeof(*cudastruct->val))); in MatSeqSELLCUDACopyToGPU()
|