History log of /petsc/src/sys/objects/device/impls/cupm/cupmcontext.hpp (Results 1 – 25 of 69)
Revision Date Author Comments
# 5fa70555 06-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'hongzh/energy-monitor' into 'main'

Add the logging of gpu energy

See merge request petsc/petsc!8817


# 5268dc8a 14-Aug-2025 Hong Zhang <hongzhang@anl.gov>

Add the logging of gpu energy

- Remove unneeded PETSC_HAVE_DEVICE macro
- -log_view_gpu_energy requires CUDA version >= 12.2
- Use PetscDefined instead of macro


# bb59972c 05-May-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jed/fix-cupm-visibility' into 'main'

cupm: fix visibility to build without warnings

See merge request petsc/petsc!7526


# 85f25e71 04-May-2024 Jed Brown <jed@jedbrown.org>

cupm: fix visibility to build without warnings

Thanks-to: Lawrence Mitchell


# 9dd11ecf 25-Aug-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-08-17/header-guard-check' into 'main'

Check header guards

See merge request petsc/petsc!6822


# a4963045 18-Aug-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Convert all header guards to pragma once


# c6013d66 09-Aug-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-06-06/register-finalize-reverse-order' into 'main'

Fix PetscDeviceContext Memory Leak (And Make PetscXXXRegisterFinalize() Order Hierarchical)

See merge request petsc/pets

Merge branch 'jacobf/2023-06-06/register-finalize-reverse-order' into 'main'

Fix PetscDeviceContext Memory Leak (And Make PetscXXXRegisterFinalize() Order Hierarchical)

See merge request petsc/petsc!6559

show more ...


# 3048253c 06-Jun-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

The various PetscXXXRegisterFinalize() should execute finalizers in reverse order of registration


# 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 ...


# 06e36fcd 01-Jun-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-05-30/misc-cxx-fixes-2' into 'main'

Misc C++-Related Fixes For PetscDevice And Friends Round 2

See merge request petsc/petsc!6526


# f13b9fe2 30-May-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

remove ifdef __cplusplus from C++-only headers


# 5480effc 29-May-2023 Satish Balay <balay@mcs.anl.gov>

Revert "Revert "Revert "Merge branch 'jacobf/2023-05-17/misc-cxx-fixups/release' into 'release'"""

This reverts commit 418dbbe5c294b713971823b0eef04bc220e11f0c.


# 418dbbe5 25-May-2023 Satish Balay <balay@mcs.anl.gov>

Revert "Revert "Merge branch 'jacobf/2023-05-17/misc-cxx-fixups/release' into 'release'""

This reverts commit df799b48afdc2b9da2e7091d01d5c06978131d9d.


# df799b48 24-May-2023 Satish Balay <balay@mcs.anl.gov>

Revert "Merge branch 'jacobf/2023-05-17/misc-cxx-fixups/release' into 'release'"

This reverts commit ab82ac03bf5fd21ddf6c88f5b0e88c1ee438116f, reversing
changes made to 4a015fb72d15b0317252c3bd729c5

Revert "Merge branch 'jacobf/2023-05-17/misc-cxx-fixups/release' into 'release'"

This reverts commit ab82ac03bf5fd21ddf6c88f5b0e88c1ee438116f, reversing
changes made to 4a015fb72d15b0317252c3bd729c51826bbf9081.

show more ...


# ab82ac03 23-May-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-05-17/misc-cxx-fixups/release' into 'release'

Miscellaneous C++-Related Fixes For PetscDevice and friends

See merge request petsc/petsc!6477


# 54e1c07d 22-May-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

remove ifdef __cplusplus from C++-only headers


# c18e5d6a 13-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-04-12/getstreamhandleinternal-double-void-ptr' into 'main'

Use `void **` in `PetscDeviceContextGetStreamHandle_Internal()`

See merge request petsc/petsc!6316


# 97cd0981 12-Apr-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Make the double-pointer nature of PetscDeviceContextGetStreamHandle_Internal() explicit


# 53b2c633 12-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-03-30/expose-petscdevicecontext-stream' into 'main'

Expose PetscDeviceContext stream handle

See merge request petsc/petsc!6264


# 31d47070 07-Apr-2023 Junchao Zhang <jczhang@anl.gov>

Expose PetscDeviceContext stream


# 2f1953c4 14-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-01-11/matdensecupm' into 'main'

Feature: MATDENSECUPM

See merge request petsc/petsc!6049


# 96a4b4d9 22-Feb-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Add cupmsolverinterface.hpp


# 6ff55be4 16-Feb-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Use designated initializers in CUPMContext and copy ops struct directly instead of using mempcy


# fc45af14 17-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'balay/ci-rocm-5.4.3' into 'release'

CI: update linux-hip-double to use rocm-5.4.3 [this rocm version requires gcc-10+]

See merge request petsc/petsc!6083


123