History log of /petsc/src/mat/impls/dense/seq/dense.h (Results 1 – 25 of 189)
Revision Date Author Comments
# 71383f75 17-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/feature-matproduct_atb-seqbaij' into 'main'

MatSeqBAIJ: add MatProduct_AtB implementation (B of type MatSeqDense)

See merge request petsc/petsc!8848


# 1766d9c3 13-Nov-2025 Pierre Jolivet <pierre@joliv.et>

MatSeqBAIJ: add MatProduct_AtB implementation (B of type MatSeqDense)


# b31b2f82 10-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-10-24/fix-dmshellsetdestroyctx' into 'main'

Finish converting the function prototypes of destroy for contexts to use PetscCtxDestroyFn

See merge request petsc/petsc!8810


# cc1eb50d 27-Oct-2025 Barry Smith <bsmith@mcs.anl.gov>

Change names of Mat_XXX product contexts to MatProductCtx_XXX for code maintainability

Update destroy callback of all MatProductCtx and MatShellSetMatProductOperation() to use PetscCtxDestroyFn


# a02648fd 23-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/cleanup-symbols' into 'main'

Do not expose unneeded symbols

See merge request petsc/petsc!8335


# d6acfc2d 21-Apr-2025 Pierre Jolivet <pierre@joliv.et>

Do not expose unneeded symbols


# 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


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

Mat: Fix and improve the performance of dense matrix multiplication

Mat: Add MATDENSEFROMVECTYPE constructor type

Now in a tests set you can do

```
testset:
args: -mat_type densefromvectype

Mat: Fix and improve the performance of dense matrix multiplication

Mat: Add MATDENSEFROMVECTYPE constructor type

Now in a tests set you can do

```
testset:
args: -mat_type densefromvectype
test: test_cuda
requires: cuda
args: -vec_type veccuda
test: test_hip
requires: hip
args: -vec_type vechip
```

(This assumes that you call `MatSetVecType()` before you call
`MatSetFromOptions()`)

Mat_MPIDense: Cache offsets of MatDenseGetSubMatrix() to avoid communication in more cases

Mat: Add missing implementations for internal "MatMultColumnRange()" interface

Mat_MPIDense: Fix the zeroing of buffers in multiplication routines

Mat_MPIDense: Add optimization of MatMatMult routines when all columns are owned by rank 0

The communication for intermediate buffers can be handled with allreduce / bcast operations,
but we use the PetscSF matvec context instead of MPI routines directly so that we will
use gpu-aware MPI if possible.

show more ...


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


# 5fe01c21 22-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'hsuh/dense-lmvm-squashed' into 'main'

Dense LMVM

See merge request petsc/petsc!7371


# 0be0d8bd 14-Mar-2024 Hansol Suh <hsuh@anl.gov>

MatMult-ColumnRanges support added


# c56ceb40 28-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-02-23/doc-trivial-mat' into 'main'

Bug fix, calling MatXXXSetPreallocation on MPI matrices after MatSetOption() loses the option value

See merge request petsc/petsc!7319


# 5e116b59 23-Feb-2024 Barry Smith <bsmith@mcs.anl.gov>

Trivial fix to MatSetValuesBlocked() manual page, spelling and spacing


# 3c4b05c5 10-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'blanca/mat-mult-hermitian-transpose' into 'main'

Support for MatMultHermitianTranspose with MATDENSE, MATNEST and MATSCALAPACK

See merge request petsc/petsc!7171


# 459e8d23 20-Dec-2023 Blanca Mellado Pinto <bmelpin@dsic.upv.es>

Added MatMultHermitianTranspose and MatMultHermitianTransposeAdd for MATSEQDENSE and MATMPIDENSE


# 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


# eef0bda4 30-Jun-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-06-13/mat-vec-more-cupm-functions' into 'main'

Add Some Missing Vec/Mat CUPM Functions

Closes #1399

See merge request petsc/petsc!6596


# 14277c92 14-Jun-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Add MatGetDiagonal_CUPM


# 52c275a1 18-May-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/h2opus-dmdakokkos' into 'main'

Add support for KOKKOS in H2OPUS

See merge request petsc/petsc!6408


# d16ceb75 04-May-2023 Stefano Zampini <stefano.zampini@gmail.com>

Add MatCreateDenseForVecType

Remove old implementation (only in main) and update test

and a convenience internal routine to allocate the column vector when requested


# 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


# 4742e46b 22-Feb-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

MatDense CUPM


# 0a61c800 22-Feb-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Delete unused MatPtAPNumeric_SeqDense_SeqDense(), MatPtAPSymbolic_SeqDense_SeqDense(), and remove unused ptapwork member from Mat_SeqDense struct


# c1f49a03 01-Oct-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'suyash/hip' into 'main'

Add HIP support to Mat class in PETSc

See merge request petsc/petsc!5383


12345678