History log of /petsc/src/mat/impls/aij/seq/kokkos/aijkok.kokkos.cxx (Results 1 – 25 of 253)
Revision Date Author Comments
# 4e8208cb 31-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'

Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetC

Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'

Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetCtx ctx)

See merge request petsc/petsc!8956

show more ...


# 2a8381b2 13-Jan-2026 Barry Smith <bsmith@mcs.anl.gov>

Add automatic generated fortran support for setting and returning contexts

Major cleanup of the code for setting and returning application (previously called user) contexts
- PetscCtx ctx is now t

Add automatic generated fortran support for setting and returning contexts

Major cleanup of the code for setting and returning application (previously called user) contexts
- PetscCtx ctx is now the standard for passing in contexts
- PetscCtxRt ctx is the standard for passing out contexts, including context destroy routines based on PetscCtxDestroyFn

Both of these are typedef to void*

Also removed most use of user and userctx for context arguments now consistently named ctx

Improved documentation on PetscCtx and PetscCtxRt and on how to use contexts (including getting them) from Fortran

show more ...


# c9e3fce0 21-Dec-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/2025-10-27/update-kokkos-5.0' into 'main'

Update to Kokkos-5.0

See merge request petsc/petsc!8815


# 257f855a 16-Dec-2025 Junchao Zhang <jczhang@mcs.anl.gov>

Kokkos: update to v5.0.0

CI: remove kokkos from linux-cuda-pkgs (in favor of linux-kokkos-cuda) as v5 breaks with many external pkgs,
CI: continue to use kokkos v4.7.01 for hip builds - as they curr

Kokkos: update to v5.0.0

CI: remove kokkos from linux-cuda-pkgs (in favor of linux-kokkos-cuda) as v5 breaks with many external pkgs,
CI: continue to use kokkos v4.7.01 for hip builds - as they currently use rocm-5.4.3

Co-authored-by: Satish Balay <balay@mcs.anl.gov>

show more ...


# 8bb6a241 03-Dec-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/consolidate-options' into 'main'

Consolidate MAT_HERMITIAN and MAT_SYMMETRIC options

See merge request petsc/petsc!8856


# b0c98d1d 14-Nov-2025 Pierre Jolivet <pierre@joliv.et>

Rework MAT_SYMMETRIC and MAT_HERMITIAN options


# 5b12497f 27-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-unnecessary-reduce' into 'main'

Mat: set appropriate NO_OFF_PROC_ENTRIES to bypass MPI_Allreduce()

See merge request petsc/petsc!8872


# 65d518f3 26-Nov-2025 Pierre Jolivet <pierre@joliv.et>

MatAssemblyEnd(): fix missing space in -info


# e8c0849a 20-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-10-18/optimize-aij-ops' into 'main'

Refactor handling of diagonal marking in *AIJ and SELL matrices

See merge request petsc/petsc!8797


# 421480d9 19-Oct-2025 Barry Smith <bsmith@mcs.anl.gov>

- Replace MatMissingDiagonal() and MatMarkDiagonals_SeqXXX() with MatGetDiagonalMarkers_SeqXXX()

- Mat_SeqXXX->diag is not automatically created during MatAssemblyEnd() saving memory and time

- Replace MatMissingDiagonal() and MatMarkDiagonals_SeqXXX() with MatGetDiagonalMarkers_SeqXXX()

- Mat_SeqXXX->diag is not automatically created during MatAssemblyEnd() saving memory and time

- Accessing Mat_SeqXXX->diag now requires the use of MatGetDiagonalMarkers_SeqXXX() except when the current values are known to be correct; for example during numerical factorizations and solves

- Mat_SeqXXX->diag is now never shared among matrices; hence the free_diag flag is gone. That was always a risky proposition since any of the owning matrices could chang the values thus making them incorrect for other owners.

show more ...


# 07425a8d 18-Oct-2025 Barry Smith <bsmith@mcs.anl.gov>

This MR optimize some MAT[SB]AIJ operations related to the diagonal

The longer term goal is to refactor some Mat_SeqXXX non-numeric code to make it easier to also implement it on GPUs. For example,

This MR optimize some MAT[SB]AIJ operations related to the diagonal

The longer term goal is to refactor some Mat_SeqXXX non-numeric code to make it easier to also implement it on GPUs. For example, MatGetDiagonal() and friends

This commit
- MatMarkDiagonal_SeqAIJ/ELL()
- now use change in mat->nonzerostate to determine if it needs to recheck the diagonal locations
- sets diagDense flag for a complete diagonal
- MatInvertDiagonal_SeqAIJ/ELL()
- now uses change in mat->state to determine if diagonal entries and inverses need to be recomputed
- name changed to MatInvertDiagonalForSOR_SeqAIJ/ELL() for code clarity
- Added MatInvertDiagonal_SeqAIJ_Inode() for use by MatSOR_SeqAIJ_Inode()
- now uses change in mat->state to determine if block diagonal entries and inverses need to be recomputed

show more ...


# 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


# 5ff6d247 24-Oct-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# a0439306 23-Oct-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'balay/fix-doc' into 'release'

doc: remove non-existing references

See merge request petsc/petsc!8748


# e255e071 29-Sep-2025 Satish Balay <balay@mcs.anl.gov>

doc: remove non-existing references

Reported-by: Victor Eijkhout <eijkhout@tacc.utexas.edu>


# cd871708 16-Sep-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'cuda' into 'main'

Fix CUDA 13 API incompatibilities

See merge request petsc/petsc!8632


# 2695cf96 11-Sep-2025 Nuno Nobre <nuno.nobre@stfc.ac.uk>

Gather CUDA lib includes in petscdevice_cuda.h + disable cuSPARSE warnings using DISABLE_CUSPARSE_DEPRECATED

Defining DISABLE_CUSPARSE_DEPRECATED is Nvidia's recommended way of disabling cuSPARSE wa

Gather CUDA lib includes in petscdevice_cuda.h + disable cuSPARSE warnings using DISABLE_CUSPARSE_DEPRECATED

Defining DISABLE_CUSPARSE_DEPRECATED is Nvidia's recommended way of disabling cuSPARSE warnings
This avoids requiring -Wdeprecated-declarations - that can mask other (non-cuSPARSE) warnings

show more ...


# 64dc1d19 08-Sep-2025 Nuno Nobre <nuno.nobre@stfc.ac.uk>

Fix warnings due to ignoring return value type with nodiscard attribute


# 834855d6 27-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/clang-format-21' into 'main'

clang-format-21

See merge request petsc/petsc!8202


# 3a7d0413 12-May-2025 Pierre Jolivet <pierre@joliv.et>

One-liners from petsc/petsc!5344 and petsc/petsc!5557

Slightly reworked regular expression

git ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do
cat

One-liners from petsc/petsc!5344 and petsc/petsc!5557

Slightly reworked regular expression

git ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do
cat $file | tr '\n' '\r' | sed -E 's/\r([ ]*)(for|if|while|else) ([^\r]*)\{\r[ ]*Petsc([a-zA-Z]*)\(([^\r]*)\);\r[ ]*\}\r/\r\1\2 \3Petsc\4(\5);\r/g' | tr '\r' '\n' > ${file}.joe; mv ${file}.joe ${file}
done

show more ...


# 390d3996 12-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'lindad/hypre-control-through-pmat' into 'main'

Change hypre PC option defaults based on hypre matrix memory location

See merge request petsc/petsc!8505


# 03db1824 11-Aug-2025 Alex Lindsay <alexlindsay239@gmail.com>

Make MatGetCurrentMemType first class API


# 76f14e82 11-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 78343a4e 10-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/typos' into 'release'

Docs: typos

See merge request petsc/petsc!8636


1234567891011