History log of /petsc/src/sys/objects/device/impls/cupm/cupmthrustutility.hpp (Results 1 – 25 of 28)
Revision Date Author Comments
# 9d47de49 18-Feb-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2026-02-14/fix-defined-missing-braces' into 'main'

Fix the inconsistent usage of #if defined XXX compared to defined(XXX)

See merge request petsc/petsc!9040


# beceaeb6 15-Feb-2026 Barry Smith <bsmith@mcs.anl.gov>

Fix the inconsistent usage of #if [!]defined XXX compared to defined(XXX)

Thanks-to: Pierre Jolivet

An LLM Claude detected the incosnsitency it was not used to remove the inconsistency


# 174dc0c8 28-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 34e05a0f 28-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jed/iwyu-export-petscerror' into 'release'

petscerror.h: iwyu export semi-private header

See merge request petsc/petsc!8343


# 7233ce55 24-Apr-2025 Jed Brown <jed@jedbrown.org>

petscerror.h: iwyu export semi-private header

petscerror.h cannot be included directly unless petscsys.h has already
been included (and that unconditionally includes petscerror.h). This
updates docs

petscerror.h: iwyu export semi-private header

petscerror.h cannot be included directly unless petscsys.h has already
been included (and that unconditionally includes petscerror.h). This
updates docs and uses IWYU pragma export so IDEs (clangd) will
automatically include the correct header when you use things like
SETERRQ that appear petscerror.h.

Fix #1254

show more ...


# 58bddbc0 11-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'tisaac/feature-lmvm-rework' into 'main'

MatLMVM rework

See merge request petsc/petsc!6401


# 3853def2 26-Mar-2025 Toby Isaac <toby.isaac@gmail.com>

CUPM: Fix some mult routines and make some small performance improvements

VecSeq_CUPM: Fix ::Dot, ::TDot, ::WAXPYAsync, and ::AXPBYAsync to work with non-device vectors

Mat_SeqDenseCUPM: fix ::SetR

CUPM: Fix some mult routines and make some small performance improvements

VecSeq_CUPM: Fix ::Dot, ::TDot, ::WAXPYAsync, and ::AXPBYAsync to work with non-device vectors

Mat_SeqDenseCUPM: fix ::SetRandom for hip

Mat_SeqDenseCUPM: implement conjugate on the device

Mat_SeqDenseCUPM: Fix MatMult() (and friends) when the vector is not on the device

This implementation assumes that the cost of moving the matrix to the
host is more expensive that moving the vector to the device, so temporary
device copies of the host vectors are used.

VecCUPM: Avoid device synchronization in some cases of ResetArray()

The documentation says that the PetscDeviceSynchronization() is
only needed if CopyToDevice_() resulted in a HtoD memcpy,
which would only happen if v->offloadmask == PETSC_OFFLOAD_CPU.
If we test this condition, we can avoid the synchronization.

This improves the peformance of MatDenseRestoreColumnVecWrite() in
performance critical loops.

CUPM: use thrust::hip::par_nosync

show more ...


# 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


# 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


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

Remove ifdef __cplusplus for cupmthrustutility.hpp


# ebc16b7d 17-May-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Wrap thrust timers in PetscFunctionBegin/End() so the stack trace is shown, include proper headers for THRUST_VERSION, and define PETSC_THRUST_HAS_ASYNC if we detect it


# 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


# bdaf56ec 17-May-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Wrap thrust timers in PetscFunctionBegin/End() so the stack trace is shown, include proper headers for THRUST_VERSION, and define PETSC_THRUST_HAS_ASYNC if we detect it


# 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


# f3146f24 18-Feb-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Improve compile time by reducing number of thrust headers transitively included, removing all of the unecessary Thrust util indirection


# 31d78bcd 02-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-12-10/petscerrorcode-nodiscard' into 'main'

Feature: Non-discardable PetscErrorCode

See merge request petsc/petsc!5923


# 3ba16761 10-Dec-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Make PetscErrorCode a non-discardable enum


# c06096d4 21-Oct-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-09-23/veccupm' into 'main'

Feature: CUPM Vec

See merge request petsc/petsc!5685


# 394a9454 05-Oct-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Remove unused code from thrust utility header


# 061e922f 22-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-09-21/2-bike-2-shed' into 'main'

Feature: Bicycle Storage Facility 2

See merge request petsc/petsc!5661


12