Convert PetscSF CUDA and HIP to CUPM
Merge branch 'jacobf/2023-08-17/header-guard-check' into 'main'Check header guardsSee merge request petsc/petsc!6822
Convert all header guards to pragma once
Minor fixes
Add static to internal functions
Extern appriopriate symbols before the great en-static-ing
Make many many many internal functions under vec static
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 ...
ISComplement: minor documentation fixes
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
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 PetscValidPointer -> PetscAssertPointer
Deploy new PetscValidPointer, remove PetscValidXXXPointer
Manual lint fixes: vec
Fix -Wextra-semi-stmt
Lint apply: vec
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
DMPlex: Small cleanup
Kokkos: fix a bug that we did not init PetscKokkosExecutionSpacePtr when kokkos is init'ed by usersReported-by: "Fackler, Philip" <facklerpw@ornl.gov>
Fix some improper use of COMM_SELF in error reporting
1...<<11121314151617181920>>...96