Kokkos: make dual view sync_host() asynchronous by adding an execution space argumentsync_host() without the argument is synchronous (like cudaMemcpy D2H). With the argument,it is asynchronous (l
Kokkos: make dual view sync_host() asynchronous by adding an execution space argumentsync_host() without the argument is synchronous (like cudaMemcpy D2H). With the argument,it is asynchronous (like cudaMemcpyAsync D2H).To make sure the host array contains valide data immediately after dualview.sync_host(),we need to do exec.fence();
show more ...
Kokkos: no need to init views created by create_mirror_view
ISComplement: minor documentation fixes
Prune some PetscViewer internals:1. Make functions used only within a single TU static2. Make private functions used only within PETSc either PETSC_INTERN orPETSC_SINGLE_LIBRARY_INTERN3. Apply t
Prune some PetscViewer internals:1. Make functions used only within a single TU static2. Make private functions used only within PETSc either PETSC_INTERN orPETSC_SINGLE_LIBRARY_INTERN3. Apply the same treatment to variables
Fix documentation
Fix typos
Add convenience functions VecCreateFromOptions() and MatCreateFromOptions() to reduce the use of specialize creation routines in the examples and thus make it easier for people to use GPU based solve
Add convenience functions VecCreateFromOptions() and MatCreateFromOptions() to reduce the use of specialize creation routines in the examples and thus make it easier for people to use GPU based solvers
Vec: revise ex2k cosmetically
Profiling: Improve !defined(PETSC_USE_LOG) #defines- If we cast macro arguments to void, we can avoid unused errors that have forced lots of conditionally included code like this:```c #if def
Profiling: Improve !defined(PETSC_USE_LOG) #defines- If we cast macro arguments to void, we can avoid unused errors that have forced lots of conditionally included code like this:```c #if defined(PETSC_USE_LOG) PetscLogEvent event; #endif```- Having global counters like petsc_TotalFlops externed event if !PetscDefined(USE_LOG) helps to remove a lot of needless `#ifdef`s around code that can instead be placed in `if (PetscDefined(USE_LOG)) {}` blocks.
Fix the places that should be using PETSC_STATIC_ARRAY_LENGTH
... and apply it
Rename VecChop() into VecFilter()
Rename PetscValidPointer -> PetscAssertPointer
Deploy new PetscValidPointer, remove PetscValidXXXPointer
Vec: add VecMAXPBY()
Manual lint fixes: vec
Merge branch 'jolivet/fix-Wextra-semi-stmt' into 'main'Fix -Wextra-semi-stmtSee merge request petsc/petsc!6708
Fix some typos and documentation mismatches
Fix -Wextra-semi-stmt
Lint apply: vec
Merge remote-tracking branch 'origin/release'
Improve clarity of usage of arrays obtained with DMDAVecGetArray()
Merge branch 'barry/2023-06-15/add-fortran-file-viewer' into 'main'Allow one to attach a PETSCVIEWERASCII to a Fortran file unitSee merge request petsc/petsc!6607
HAVE_FORTRAN should be USE_FORTRAN_BINDINGS since it is about generating the Fortran bindings, not about if the Fortran compiler exists
VecScatterCreate: add info to error messages
1...<<21222324252627282930>>...278