Searched refs:bits (Results 1 – 9 of 9) sorted by relevance
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | dlpack.pxi | 21 uint8_t bits
|
| H A D | Vec.pyx | 578 cdef int bits = 0 591 bits = ptr.dl_tensor.dtype.bits 592 if bits != 8*sizeof(PetscScalar): 691 bits = ptr.dl_tensor.dtype.bits 692 if bits != 8*sizeof(PetscScalar): 807 dtype.bits = <uint8_t>64 809 dtype.bits = <uint8_t>32
|
| H A D | Mat.pyx | 6050 dtype.bits = <uint8_t>64 6052 dtype.bits = <uint8_t>32
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | toclapack.sh | 2496 /* than or equal to EMIN. EXBITS is the number of bits needed to */ 2511 /* NBITS is the total number of bits needed to store a */ 2516 /* Either there are an odd number of bits used to store a */ 2517 /* floating-point number, which is unlikely, or some bits are */ 4487 /* than or equal to EMIN. EXBITS is the number of bits needed to */ 4502 /* NBITS is the total number of bits needed to store a */ 4507 /* Either there are an odd number of bits used to store a */ 4508 /* floating-point number, which is unlikely, or some bits are */
|
| /petsc/doc/changes/ |
| H A D | 35.md | 8 read in binary files that have all 128 bits stored in the file, to
|
| H A D | dev.md | 28 - Add `PetscBTCountSet()` to count set bits in `PetscBT`
|
| /petsc/doc/developers/ |
| H A D | style.md | 75 2. `PetscCount` is `ptrdiff_t`, (on 64-bit systems it is 64-bits) and should be used for array size… 91 4. **Never** blindly put in a cast from a potentially longer (in number of bits) to a shorter integ… 100 absolutely know the value will fit in the lesser number of bits.
|
| /petsc/src/dm/interface/ |
| H A D | dm.c | 7778 …->names, ul->Nl, &ul->indices, ul->Nl + 1, &ul->offsets, ul->Nl + 1, &ul->bits, ul->Nl, &ul->masks… in DMUniversalLabelCreate() 7793 ul->bits[m + 1] = PetscCeilReal(PetscLog2Real(nv + 1)); in DMUniversalLabelCreate() 7798 ul->bits[l] = ul->bits[l - 1] + ul->bits[l]; in DMUniversalLabelCreate() 7804 for (b = ul->bits[l]; b < ul->bits[l + 1]; ++b) ul->masks[l] |= 1 << b; in DMUniversalLabelCreate() 7845 uval += (loc + 1) << ul->bits[m]; in DMUniversalLabelCreate() 7862 …rsal)->names, (*universal)->indices, (*universal)->offsets, (*universal)->bits, (*universal)->mask… in DMUniversalLabelDestroy() 7907 PetscInt lval = (value & ul->masks[l]) >> ul->bits[l]; in DMUniversalLabelSetLabelValue()
|
| /petsc/include/petsc/private/ |
| H A D | dmimpl.h | 208 PetscInt *bits; /* Starting bit for values of each label */ member
|