Searched refs:nInt (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/vec/is/sf/impls/basic/kokkos/ |
| H A D | sfkok.kokkos.cxx | 640 PetscInt nSignedChar = 0, nUnsignedChar = 0, nInt = 0, nPetscInt = 0, nPetscReal = 0; in PetscSFLinkSetUp_Kokkos() local 652 PetscCall(MPIPetsc_Type_compare_contig(unit, MPI_INT, &nInt)); in PetscSFLinkSetUp_Kokkos() 689 } else if (nInt) { in PetscSFLinkSetUp_Kokkos() 691 if (nInt == 8) PackInit_IntegerType<int, 8, 1>(link); in PetscSFLinkSetUp_Kokkos() 692 else if (nInt % 8 == 0) PackInit_IntegerType<int, 8, 0>(link); in PetscSFLinkSetUp_Kokkos() 693 else if (nInt == 4) PackInit_IntegerType<int, 4, 1>(link); in PetscSFLinkSetUp_Kokkos() 694 else if (nInt % 4 == 0) PackInit_IntegerType<int, 4, 0>(link); in PetscSFLinkSetUp_Kokkos() 695 else if (nInt == 2) PackInit_IntegerType<int, 2, 1>(link); in PetscSFLinkSetUp_Kokkos() 696 else if (nInt % 2 == 0) PackInit_IntegerType<int, 2, 0>(link); in PetscSFLinkSetUp_Kokkos() 697 else if (nInt == 1) PackInit_IntegerType<int, 1, 1>(link); in PetscSFLinkSetUp_Kokkos() [all …]
|
| /petsc/src/vec/is/sf/impls/basic/cupm/ |
| H A D | sfcupm_impl.hpp | 644 PetscInt nSignedChar = 0, nUnsignedChar = 0, nInt = 0, nPetscInt = 0, nPetscReal = 0; in LinkSetUp() local 655 PetscCall(MPIPetsc_Type_compare_contig(unit, MPI_INT, &nInt)); in LinkSetUp() 692 } else if (nInt) { in LinkSetUp() 694 if (nInt == 8) PackInit_IntegerType<int, 8, 1>(link); in LinkSetUp() 695 else if (nInt % 8 == 0) PackInit_IntegerType<int, 8, 0>(link); in LinkSetUp() 696 else if (nInt == 4) PackInit_IntegerType<int, 4, 1>(link); in LinkSetUp() 697 else if (nInt % 4 == 0) PackInit_IntegerType<int, 4, 0>(link); in LinkSetUp() 698 else if (nInt == 2) PackInit_IntegerType<int, 2, 1>(link); in LinkSetUp() 699 else if (nInt % 2 == 0) PackInit_IntegerType<int, 2, 0>(link); in LinkSetUp() 700 else if (nInt == 1) PackInit_IntegerType<int, 1, 1>(link); in LinkSetUp() [all …]
|
| /petsc/src/vec/is/sf/impls/basic/ |
| H A D | sfpack.c | 510 PetscInt nSignedChar = 0, nUnsignedChar = 0, nInt = 0, nPetscInt = 0, nPetscReal = 0; in PetscSFLinkSetUp_Host() local 522 PetscCall(MPIPetsc_Type_compare_contig(unit, MPI_INT, &nInt)); in PetscSFLinkSetUp_Host() 582 } else if (nInt) { in PetscSFLinkSetUp_Host() 583 if (nInt == 8) PackInit_IntegerType_int_8_1(link); in PetscSFLinkSetUp_Host() 584 else if (nInt % 8 == 0) PackInit_IntegerType_int_8_0(link); in PetscSFLinkSetUp_Host() 585 else if (nInt == 4) PackInit_IntegerType_int_4_1(link); in PetscSFLinkSetUp_Host() 586 else if (nInt % 4 == 0) PackInit_IntegerType_int_4_0(link); in PetscSFLinkSetUp_Host() 587 else if (nInt == 2) PackInit_IntegerType_int_2_1(link); in PetscSFLinkSetUp_Host() 588 else if (nInt % 2 == 0) PackInit_IntegerType_int_2_0(link); in PetscSFLinkSetUp_Host() 589 else if (nInt == 1) PackInit_IntegerType_int_1_1(link); in PetscSFLinkSetUp_Host() [all …]
|