Home
last modified time | relevance | path

Searched refs:maxallocrow (Results 1 – 2 of 2) sorted by relevance

/petsc/src/mat/impls/sell/seq/
H A Dsell.h23 PetscInt maxallocrow; /* max allocated space for each row */ \
120 if (WIDTH >= Ain->maxallocrow) Ain->maxallocrow += MUL; \
179 if (a->rlen[row] >= a->maxallocrow) a->maxallocrow++; \
H A Dsell.c87 PetscErrorCode MatSeqSELLSetPreallocation_SeqSELL(Mat B, PetscInt maxallocrow, const PetscInt rlen[… in MatSeqSELLSetPreallocation_SeqSELL() argument
97 if (maxallocrow >= 0 || rlen) realalloc = PETSC_TRUE; in MatSeqSELLSetPreallocation_SeqSELL()
98 if (maxallocrow == MAT_SKIP_ALLOCATION) { in MatSeqSELLSetPreallocation_SeqSELL()
100 maxallocrow = 0; in MatSeqSELLSetPreallocation_SeqSELL()
107 if (maxallocrow == PETSC_DEFAULT || maxallocrow == PETSC_DECIDE) maxallocrow = 5; in MatSeqSELLSetPreallocation_SeqSELL()
108 …PetscCheck(maxallocrow >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "maxallocrow cannot be les… in MatSeqSELLSetPreallocation_SeqSELL()
136 if (maxallocrow == PETSC_DEFAULT || maxallocrow == PETSC_DECIDE) maxallocrow = 10; in MatSeqSELLSetPreallocation_SeqSELL()
137 else if (maxallocrow < 0) maxallocrow = 1; in MatSeqSELLSetPreallocation_SeqSELL()
139 rlenmax = maxallocrow; in MatSeqSELLSetPreallocation_SeqSELL()
141 while (b->sliceheight * maxallocrow % DEVICE_MEM_ALIGN) maxallocrow++; in MatSeqSELLSetPreallocation_SeqSELL()
[all …]