History log of /petsc/src/vec/is/sf/impls/basic/cupm/sfcupm_impl.hpp (Results 1 – 13 of 13)
Revision Date Author Comments
# bfd69959 22-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/2024-09-09/fix-sf-mpi-large-count-datatype' into 'main'

PetscSF: Support MPI derived data types created with large count

Closes #1625

See merge request petsc/petsc!7825


# d279a5e3 22-Sep-2024 Junchao Zhang <jczhang@mcs.anl.gov>

PetscSF: support MPI derived data types created with large count

When user created MPI derived data types with large count routines, e.g., MPI_Type_contiguous_c(4, MPI_DOUBLE, &newtype), and passed

PetscSF: support MPI derived data types created with large count

When user created MPI derived data types with large count routines, e.g., MPI_Type_contiguous_c(4, MPI_DOUBLE, &newtype), and passed newtype to PetscSF,
is it legal to decode the datatype with MPI_Type_get_envelope()? The MPI Forum debated but has yet to resolve this issue.

Our approach is to decode the datatype with MPI_Type_get_envelope_c() if available; otherwise with MPI_Type_get_envelope().

But currently we don't really support real big count values, say a type created by MPI_Type_contiguous_c(2^33, MPI_DOUBLE, &newtype).

We could support that, but just see no needs for now. We will error out if this kind of types are given to PetscSF.

show more ...


# d8e47b63 17-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'

Compiler finds (and forbid) casts from higher precision integers to lower

See merge request petsc/petsc!7806


# 6497c311 25-Aug-2024 Barry Smith <bsmith@mcs.anl.gov>

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in th

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in the CI

show more ...


# 9ddca861 09-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'tisaac/bugfix-sfwindow' into 'main'

Add PetscSFRegisterPersistent() and fix PETSCSFWINDOW for empty ranks

See merge request petsc/petsc!7786


# e1187f0d 03-Sep-2024 Toby Isaac <toby.isaac@gmail.com>

PetscSF: add PetscSFGetDatatypeSize_Internal() for internal use


# 970231d2 07-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/clang-format-18' into 'main'

clang-format version 18

See merge request petsc/petsc!6902


# fbccb6d4 18-Nov-2023 Pierre Jolivet <pierre@joliv.et>

CI: update to clang-format-18


# 4ad8454b 09-Feb-2024 Pierre Jolivet <pierre@joliv.et>

Remove some unneeded parentheses


# 0d73c05b 12-Sep-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/warning-sfcupm' into 'main'

Fix compile warning in CUPM

See merge request petsc/petsc!6872


# 3d0abfa8 12-Sep-2023 Jose E. Roman <jroman@dsic.upv.es>

Fix compile warning in CUPM

petsc/src/vec/is/sf/impls/basic/cupm/cuda/../sfcupm_impl.hpp: In instantiation of 'static PetscErrorCode Petsc::sf::cupm::impl::SfInterface<T>::LinkSyncDevice(PetscSFLink

Fix compile warning in CUPM

petsc/src/vec/is/sf/impls/basic/cupm/cuda/../sfcupm_impl.hpp: In instantiation of 'static PetscErrorCode Petsc::sf::cupm::impl::SfInterface<T>::LinkSyncDevice(PetscSFLink) [with Petsc::device::cupm::DeviceType T = Petsc::device::cupm::DeviceType::CUDA; PetscSFLink = _n_PetscSFLink*]':
petsc/src/vec/is/sf/impls/basic/cupm/cuda/sfcupm.cu:18:17: required from here
petsc/src/vec/is/sf/impls/basic/cupm/cuda/../sfcupm_impl.hpp:568:48: error: unused parameter 'link' [-Werror=unused-parameter]
568 | inline PetscErrorCode SfInterface<T>::LinkSyncDevice(PetscSFLink link) noexcept
| ~~~~~~~~~~~~~~^~~~
cc1plus: all warnings being treated as errors
gmake[3]: *** [gmakefile:209: arch-gnu-c-cuda-int64/obj/src/vec/is/sf/impls/basic/cupm/cuda/sfcupm.o] Error 1

show more ...


# 92c13d48 11-Sep-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'tisaac/feature-petscsf-cupm' into 'main'

Convert PetscSF CUDA and HIP to CUPM

See merge request petsc/petsc!6861


# 054def41 06-Sep-2023 Toby Isaac <toby.isaac@gmail.com>

Convert PetscSF CUDA and HIP to CUPM