Home
last modified time | relevance | path

Searched refs:nPetscInt (Results 1 – 3 of 3) sorted by relevance

/petsc/src/vec/is/sf/impls/basic/kokkos/
H A Dsfkok.kokkos.cxx640 PetscInt nSignedChar = 0, nUnsignedChar = 0, nInt = 0, nPetscInt = 0, nPetscReal = 0; in PetscSFLinkSetUp_Kokkos() local
653 PetscCall(MPIPetsc_Type_compare_contig(unit, MPIU_INT, &nPetscInt)); in PetscSFLinkSetUp_Kokkos()
677 } else if (nPetscInt && sizeof(PetscInt) == sizeof(llint)) { in PetscSFLinkSetUp_Kokkos()
679 if (nPetscInt == 8) PackInit_IntegerType<llint, 8, 1>(link); in PetscSFLinkSetUp_Kokkos()
680 else if (nPetscInt % 8 == 0) PackInit_IntegerType<llint, 8, 0>(link); in PetscSFLinkSetUp_Kokkos()
681 else if (nPetscInt == 4) PackInit_IntegerType<llint, 4, 1>(link); in PetscSFLinkSetUp_Kokkos()
682 else if (nPetscInt % 4 == 0) PackInit_IntegerType<llint, 4, 0>(link); in PetscSFLinkSetUp_Kokkos()
683 else if (nPetscInt == 2) PackInit_IntegerType<llint, 2, 1>(link); in PetscSFLinkSetUp_Kokkos()
684 else if (nPetscInt % 2 == 0) PackInit_IntegerType<llint, 2, 0>(link); in PetscSFLinkSetUp_Kokkos()
685 else if (nPetscInt == 1) PackInit_IntegerType<llint, 1, 1>(link); in PetscSFLinkSetUp_Kokkos()
[all …]
/petsc/src/vec/is/sf/impls/basic/cupm/
H A Dsfcupm_impl.hpp644 PetscInt nSignedChar = 0, nUnsignedChar = 0, nInt = 0, nPetscInt = 0, nPetscReal = 0; in LinkSetUp() local
656 PetscCall(MPIPetsc_Type_compare_contig(unit, MPIU_INT, &nPetscInt)); in LinkSetUp()
680 } else if (nPetscInt && sizeof(PetscInt) == sizeof(llint)) { in LinkSetUp()
682 if (nPetscInt == 8) PackInit_IntegerType<llint, 8, 1>(link); in LinkSetUp()
683 else if (nPetscInt % 8 == 0) PackInit_IntegerType<llint, 8, 0>(link); in LinkSetUp()
684 else if (nPetscInt == 4) PackInit_IntegerType<llint, 4, 1>(link); in LinkSetUp()
685 else if (nPetscInt % 4 == 0) PackInit_IntegerType<llint, 4, 0>(link); in LinkSetUp()
686 else if (nPetscInt == 2) PackInit_IntegerType<llint, 2, 1>(link); in LinkSetUp()
687 else if (nPetscInt % 2 == 0) PackInit_IntegerType<llint, 2, 0>(link); in LinkSetUp()
688 else if (nPetscInt == 1) PackInit_IntegerType<llint, 1, 1>(link); in LinkSetUp()
[all …]
/petsc/src/vec/is/sf/impls/basic/
H A Dsfpack.c510 PetscInt nSignedChar = 0, nUnsignedChar = 0, nInt = 0, nPetscInt = 0, nPetscReal = 0; in PetscSFLinkSetUp_Host() local
523 PetscCall(MPIPetsc_Type_compare_contig(unit, MPIU_INT, &nPetscInt)); in PetscSFLinkSetUp_Host()
565 } else if (nPetscInt) { in PetscSFLinkSetUp_Host()
566 if (nPetscInt == 8) PackInit_IntegerType_PetscInt_8_1(link); in PetscSFLinkSetUp_Host()
567 else if (nPetscInt % 8 == 0) PackInit_IntegerType_PetscInt_8_0(link); in PetscSFLinkSetUp_Host()
568 else if (nPetscInt == 4) PackInit_IntegerType_PetscInt_4_1(link); in PetscSFLinkSetUp_Host()
569 else if (nPetscInt % 4 == 0) PackInit_IntegerType_PetscInt_4_0(link); in PetscSFLinkSetUp_Host()
570 else if (nPetscInt == 2) PackInit_IntegerType_PetscInt_2_1(link); in PetscSFLinkSetUp_Host()
571 else if (nPetscInt % 2 == 0) PackInit_IntegerType_PetscInt_2_0(link); in PetscSFLinkSetUp_Host()
572 else if (nPetscInt == 1) PackInit_IntegerType_PetscInt_1_1(link); in PetscSFLinkSetUp_Host()
[all …]