History log of /petsc/src/mat/tests/ex303.c (Results 1 – 8 of 8)
Revision Date Author Comments
# 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


# ac530a7e 03-Jun-2025 Pierre Jolivet <pierre@joliv.et>

Remove unnecessary braces around one-liners

git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\

Remove unnecessary braces around one-liners

git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'

show more ...


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


# f73bfc44 15-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 1d70d49e 11-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/2025-07-01/fix-MatCreateMPIAIJWithSeqAIJ-device' into 'release'

Fix bugs related to MatCreateMPIAIJWithSeqAIJ

See merge request petsc/petsc!8524


# f0c227fb 03-Jul-2025 Junchao Zhang <jczhang@anl.gov>

test: enhance the test for MatCreateMPIAIJWithSeqAIJ


# 23386071 20-Mar-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stevendargaville/mat-kokkoscreatedevice' into 'main'

Added new API calls to allow kokkos matrices to be built with no host preallocation

See merge request petsc/petsc!8206


# c0c276a7 20-Mar-2025 sdargavi <s.dargaville@imperial.ac.uk>

Changes to allow building gpu matrices on the device.

Changed MatCreateMPIAIJWithSeqAIJ() so global sizes must be given to prevent reduction.

Changed MatCreateMPIAIJWithSeqAIJ() so B can be passed

Changes to allow building gpu matrices on the device.

Changed MatCreateMPIAIJWithSeqAIJ() so global sizes must be given to prevent reduction.

Changed MatCreateMPIAIJWithSeqAIJ() so B can be passed in with local indices, hence no compactification occurs.

Added MatCreateSeqAIJKokkosWithKokkosViews() which creates a Mat with no preallocation on the host.

Added test that checks building kokkos matrices without any host preallocation

show more ...