SF: need to sync the stream before MPI send even when there is nothing to send but has something to receiveThere might be pending gpu operations on the receive buffer. Without synchronization, say
SF: need to sync the stream before MPI send even when there is nothing to send but has something to receiveThere might be pending gpu operations on the receive buffer. Without synchronization, say we proceed to MPI_Waitall(). MPI might stage on host and do a H2D copy on an internal stream on the receive side. Previous gpu operations COULD happen after the H2D copy, causing a write-after-write reorder violation!
show more ...
VecNestSetSubVec(): reference the input vector rather than explicitly duplicating itThis is consistent with what is done in VecCreateNest()
Update sowing bfort for automatic generation of XXXDestroy() codeFix some Fortran stub code to work with generation of XXXDestroy()Add some runtime tests for XXXCreate() callsAlso update sowing
Update sowing bfort for automatic generation of XXXDestroy() codeFix some Fortran stub code to work with generation of XXXDestroy()Add some runtime tests for XXXCreate() callsAlso update sowing and fortranimpl.h to use PETSC_NULLPTR instead of NULL
Add some error checking for use of PETSC_NULL_XXX in Fortran interfaceMinor cleanup of Fortran error messages
Vec: make lock available in optimized modeHaving the lock available is important to take runtime decisionson how to export the vector data in python
Merge branch 'stefanozampini/vecis-collective' into 'main'VecISXXX: require same communicator between Vecs and ISSee merge request petsc/petsc!7564
Merge remote-tracking branch 'origin/release'
Merge branch 'jolivet/fix-docs' into 'release'Docs: fix double backticks in seealsoSee merge request petsc/petsc!7560
VecISXXX: require same communicator between Vecs and ISthis allows to skip operations if the global size of the IS is zero
Docs: fix double backticks in seealso
Remove unneeded include <petsc/private/fortranimpl.h>
Update to sowing version that supports PetscViewer and PetscObjectRemove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowingAlso handles the passing of null
Update to sowing version that supports PetscViewer and PetscObjectRemove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowingAlso handles the passing of null objects correctly
VecKokkos: inherit the origin's MDot setting in VecDuplicateVecsSo that the duplicated vectors can use GEMV for VecMDot
Vec: use smaller alignment in VecDuplicateVecs GEMV
cupm: fix visibility to build without warningsThanks-to: Lawrence Mitchell
Add more details on Vec/MatGetOwnershipRange() and how the values are determined.Reported-by: Sayan Bhattacharjee
Merge branch 'barry/2024-04-13/fix-sowing-strings' into 'main'Update PETSc to use sowing bfort that handles string arguments and PETSC_NULL_INTSee merge request petsc/petsc!7480
docs fixes for release
Fix for defined but unused variables under certain configurations
Update source code removing all unneeded /*@C and associated manual stubs and interfaces
Fix unused variable message from certain compiler/configuration situations.Plus this violates the style rule about flop variables.
1...<<11121314151617181920>>...278