add PetscAssert() and PetscAssertFalse()
make PetscInfo() variadic
SETERRQ[1-9]+ begone
apply PETSC_ATTRIBUTE_FORMAT and related fixes to sys sources
PetscStack is on the stack now, removing the need to 'initialize' it so it can always beused. The entire API has also been intern'ed since it is only internally used in selectinstances.
Fix manpages: Argument --> Parameter (required to enable sowing checks)
Fix manpages: Input/Output Parameter --> Parameters
Fix spelling errors in manpages and comments
Added PetscDevice to manage interaction and configuration of available devices.Added PetscDeviceContext class to manage stream interactions for CUDA and HIP devicebackends. The new class is design
Added PetscDevice to manage interaction and configuration of available devices.Added PetscDeviceContext class to manage stream interactions for CUDA and HIP devicebackends. The new class is designed to facilitate a fork-join parallelization model forasynchronous compute.
show more ...
Sys: dump filename and linenumber in filename:linenumberSo that in supported IDEs such as VS Code one can click the url-like filename:linenumber to go to that line
Update badsource rules- Zero or more spaces are not allowed for more returning types- zero spaces not allowed for for|if|while
Remove all double blank lines from sourceCommit-type: petsc-style/2h
PetscMalloc() was using "allocating" space, zeroing it etc before verifying a non-NULL pointer was even returnedFix the code to immediately check if a non-NULL pointer was returned, otherwise immed
PetscMalloc() was using "allocating" space, zeroing it etc before verifying a non-NULL pointer was even returnedFix the code to immediately check if a non-NULL pointer was returned, otherwise immediately generate an error.Commit-type: bug-fixProject: Brain project/spend 10mReported-by: Getnet Betrie <gbetrie@anl.gov>
Print additional information on PetscMallocValidate() errors
Convert MPI error type to PETSc error with string message for all MPI callsNow PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-pro
Convert MPI error type to PETSc error with string message for all MPI callsNow PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-process their errors better.The test harness will now automatically retry tests that fail with MPI, this may help with Intel MPI that produces seemingly random failures.Commit-type: error-checking/spend 30m
Implementation of HIP for sys and vec packagesThis implements the vec functionality including tests.In the sys level, we handle the initialization issues, but it is testedat the vec level.Works
Implementation of HIP for sys and vec packagesThis implements the vec functionality including tests.In the sys level, we handle the initialization issues, but it is testedat the vec level.Works with ROCm 3.9.
Call PetscMallocValidate() on signal and error conditions to check if the final memory state is correctCommit-type: error-checking/spend 10m
Call PetscMallocValidate() when SEGV or SIGBUS are receivedCommit-type: debugging/spend 10m
Sys: Allow tracing malloc - I used this to track down allocation in a section of the code - Now malloc logging can use requested size instead of allocated size
Merge branch 'knepley/feature-plex-adaptive-interpolation' into 'master'Knepley/feature plex adaptive interpolationSee merge request petsc/petsc!3018
Turn on checkbadSource test to generate an error when found; fix all source code that causes errorsCommit-type: portability-fix, testing-fix, style-fix, feature, maintainability/spend 1.5h
Sys: Improve PetscMallocValidate()
Fix a deadlock with MATELEMENTAL
Typos
Merge branch 'rmills/fix-cuda-capitalization' into 'master'Fix occurrences of "Cuda" to "CUDA", to be consistent with usage elsewhere in PETSc.See merge request petsc/petsc!2622
12345678910