Searched refs:PETSC_BITS_PER_BYTE (Results 1 – 6 of 6) sorted by relevance
| /petsc/include/ |
| H A D | petscbt.h | 13 return (size_t)index / PETSC_BITS_PER_BYTE; in PetscBTIndex_Internal() 18 return (PetscByte)(1 << index % PETSC_BITS_PER_BYTE); in PetscBTMask_Internal() 23 return (size_t)m / PETSC_BITS_PER_BYTE + 1; in PetscBTLength()
|
| H A D | petscsystypes.h | 1125 #define PETSC_BITS_PER_BYTE CHAR_BIT macro
|
| /petsc/src/sys/logging/state/ |
| H A D | logstate.c | 166 …_stages % PETSC_BITS_PER_BYTE) == 0, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "new number of stages … in PetscLogStateResize() 170 size_t num_chars = (state->bt_num_stages * state->bt_num_events) / PETSC_BITS_PER_BYTE; in PetscLogStateResize() 174 size_t num_chars_old = state->bt_num_stages / PETSC_BITS_PER_BYTE; in PetscLogStateResize() 175 size_t num_chars_new = new_num_stages / PETSC_BITS_PER_BYTE; in PetscLogStateResize()
|
| /petsc/src/mat/impls/sbaij/mpi/ |
| H A D | sbaijov.c | 193 PetscCall(PetscMalloc2(len, &table, (Mbs / PETSC_BITS_PER_BYTE + 1) * len, &t_p)); in MatIncreaseOverlap_MPISBAIJ_Once() 194 for (i = 0; i < len; i++) table[i] = t_p + (Mbs / PETSC_BITS_PER_BYTE + 1) * i; in MatIncreaseOverlap_MPISBAIJ_Once()
|
| /petsc/src/mat/impls/baij/mpi/ |
| H A D | baijov.c | 166 …c5(imax, &table, imax, &data, imax, &isz, Mbs * imax, &d_p, (Mbs / PETSC_BITS_PER_BYTE + 1) * imax… in MatIncreaseOverlap_MPIBAIJ_Once() 169 table[i] = t_p + (Mbs / PETSC_BITS_PER_BYTE + 1) * i; in MatIncreaseOverlap_MPIBAIJ_Once()
|
| /petsc/src/mat/impls/aij/mpi/ |
| H A D | mpiov.c | 612 PetscCall(PetscIntMultError(M / PETSC_BITS_PER_BYTE + 1, imax, &M_BPB_imax)); in MatIncreaseOverlap_MPIAIJ_Once() 616 for (PetscInt i = 0; i < imax; i++) table[i] = t_p + (M / PETSC_BITS_PER_BYTE + 1) * i; in MatIncreaseOverlap_MPIAIJ_Once() 620 PetscCall(PetscIntMultError(M / PETSC_BITS_PER_BYTE + 1, imax, &M_BPB_imax)); in MatIncreaseOverlap_MPIAIJ_Once() 623 table[i] = t_p + (M / PETSC_BITS_PER_BYTE + 1) * i; in MatIncreaseOverlap_MPIAIJ_Once()
|