| #
9c5460f9
|
| 17-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-08-09/linter-detect-static-function-candidates' into 'main'
Linter detect possible static functions
See merge request petsc/petsc!6796
|
| #
ba38deed
|
| 15-Aug-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Delete unused code
|
| #
4979242e
|
| 09-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-08-08/lint-apply-dm' into 'main'
Manual DM Linter Fixes
See merge request petsc/petsc!6792
|
| #
a4e35b19
|
| 08-Aug-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Manual linter fixes: dm
|
| #
8d73f7f9
|
| 08-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'main-patch-4a63' into 'main'
Improved comment in plex.c
See merge request petsc/petsc!6785
|
| #
da9ac489
|
| 07-Aug-2023 |
Albert Cowie <arcowie@buffalo.edu> |
Update file plex.c
|
| #
6c37f76f
|
| 27-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'tisaac/feature-log-handler' into 'main'
Deglobalize logging into PetscLogHandler and PetscLogState
See merge request petsc/petsc!6709
|
| #
b665b14e
|
| 18-Jul-2023 |
Toby Isaac <toby.isaac@gmail.com> |
Profiling: Switch logging over to the new PetscLogHandler infrastructure
- Move data structures only needed by the default logger now (Action, Object) to logdefault.c
- Create petsclogdeprecated.
Profiling: Switch logging over to the new PetscLogHandler infrastructure
- Move data structures only needed by the default logger now (Action, Object) to logdefault.c
- Create petsclogdeprecated.h and petsc/private/logimpldeprecated.h for publicly visible symbols that are now deprecated. Yes, lots of symbols in petsc/private/logimpl.h were not only visible but had docstrings.
- The macros PetscLogEventBegin(), PetscLogEventEnd(), PetscLogEventSync(), PetscLogObjectCreate(), and PetscLogObjectDestroy() now looks through the log handlers in PetscLogHandlers, sees if they have they appropriate callbacks (Exposed in PetscLogHandlerHot), and calls them. Up to 4 log handlers can run simultaneously.
- All queries about the registered things now go through petsc_log_state.
- Output functions dispatch to the appropriate PetscLogHandler
- There is no need for xmllogevent.c, xmlviewer.c, eventlog.c, classlog.c, and stagelog.c anymore. Some orphaned functions (PetscLogSetThreshold(), PetscLogEventSetDof(), PetscLogEventSetError(), PetscASend(), PetscARecv(), PetscAReduce())
- PetscFEOpenCLLogResidual() did some intrusive things related to the old logging infrastruture: the private header for the default log handler is now imported into feopencl.c so that it can do equivalent things with the new infrastructure.
- PetscLogPauseCurrentEvent_Internal() is replaced with PetscLogEventsPause()
Deprecated symbols include:
- All functions related to PetscStageLog and the resizable array structs that it contained.
- The legacy EventBegin()/EventEnd() callbacks.
- PetscLogAllBegin(), which actually reported less information than PetscLogDefaultBegin() because it was not kept up-to-date with regards to GPU profiling.
show more ...
|
| #
2611ad71
|
| 14-Jul-2023 |
Toby Isaac <toby.isaac@gmail.com> |
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.
show more ...
|
| #
cfd92c66
|
| 22-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'tisaac/feature-type-generic-petsc-valid-pointer' into 'main'
Implement a type generic PetscValidPointer
See merge request petsc/petsc!6693
|
| #
4f572ea9
|
| 18-Jul-2023 |
Toby Isaac <toby.isaac@gmail.com> |
Rename PetscValidPointer -> PetscAssertPointer
|
| #
7a2f837d
|
| 06-Jul-2023 |
Toby Isaac <toby.isaac@gmail.com> |
Deploy new PetscValidPointer, remove PetscValidXXXPointer
|
| #
ad63db46
|
| 18-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/plex' into 'main'
small fixes from asan undefined behaviour
See merge request petsc/petsc!6722
|
| #
072f5ffd
|
| 18-Jul-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
DMPLEX: fixes for address sanitizer
|
| #
02477ebb
|
| 15-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-06-30/enable-doc-lint' into 'main'
Enable docs linting
See merge request petsc/petsc!6667
|
| #
60225df5
|
| 12-Jul-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Lint apply: dm
|
| #
bd9dcd1e
|
| 30-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-warnings' into 'main'
Fix warnings
See merge request petsc/petsc!6649
|
| #
936381af
|
| 30-Jun-2023 |
Pierre Jolivet <pierre@joliv.et> |
Fix warnings
|
| #
fa8daf30
|
| 26-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/dmplexinterp' into 'main'
speed up DMPlexInterpolate
See merge request petsc/petsc!6563
|
| #
59e4dc13
|
| 08-Jun-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
Plex: Fix DMPlexGetHeightStratum() for ephemeral meshes
|
| #
4e9ddbc4
|
| 08-Jun-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
Plex: Small fix
|
| #
2827ebad
|
| 08-Jun-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
Plex: Replace DMPlexGetGhostCellStratum() with DMPlexGetCellTypeStratum() - Also fix DMPlexTransform version
|
| #
09015e70
|
| 10-Jun-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
DMPlexGetTransitiveClosure: implement fastpath
|
| #
172ee266
|
| 09-Jun-2023 |
Jed Brown <jed@jedbrown.org> |
DMPlex: add DMPlexUninterp event
This operation is often expensive (even dominating total cost) so needs to be profiled.
|
| #
21027e53
|
| 09-Jun-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
DMPlex: add fastpath to set/get celltype
|