History log of /petsc/src/mat/tests/output/ex1_2.out (Results 1 – 4 of 4)
Revision Date Author Comments
# b047e4b5 17-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-09-12/fix-mat-preallocation' into 'main'

try to build efficient hash table allocation directly into Mat

See merge request petsc/petsc!5621


# 26cec326 08-Dec-2022 Barry Smith <bsmith@mcs.anl.gov>

Add support for Mat to allow skipping preallocation by having the first round of MatSetValues use hash

* MATPREALLOCATOR can be deprecated as well as possibly some other preallocation macros/routine

Add support for Mat to allow skipping preallocation by having the first round of MatSetValues use hash

* MATPREALLOCATOR can be deprecated as well as possibly some other preallocation macros/routines
* Optimizations such as direct support for MatSetValuesBlocked() for *BAIJ can be added in the future

Commit-type: feature
/spend 25h

show more ...


# c20d7725 22-Mar-2020 Jed Brown <jed@jedbrown.org>

Merge branch 'jed/promote-examples-tests-tutorials' [petsc/petsc!2610]

* jed/promote-examples-tests-tutorials:
Promote examples/{tests,tutorials}/ to {tests,tutorials}/


# c4762a1b 18-Mar-2020 Jed Brown <jed@jedbrown.org>

Promote examples/{tests,tutorials}/ to {tests,tutorials}/

This shortens paths and improves consistency between test target names
and paths to the source and output files. Most of the work was
compl

Promote examples/{tests,tutorials}/ to {tests,tutorials}/

This shortens paths and improves consistency between test target names
and paths to the source and output files. Most of the work was
completed by this script, followed by mild cleanup of nonconforming
cases.

for makefile in `git ls-files 'src/*makefile'`; do
if rg -q 'DIRS.*\bexamples\b' $makefile; then
base=$(dirname $makefile)
dirs=$(cd $base/examples && ls -d tests tutorials 2>/dev/null | xargs echo)
perl -pi -e "s#^(DIRS.*)\bexamples\b#\1${dirs}#" $makefile
git rm $base/examples/makefile
for t in $dirs; do
git mv $base/examples/$t $base/
perl -pi -e "s#^(LOCDIR[[:space:]]*=).*#\1 $base/$t/#" $base/$t
done
fi
done

git grep -l -E -z 'examples/(tutorials|tests)' | xargs -0 perl -pi -e 's#examples/(tutorials|tests)#\1#g'
git checkout @ \
src/docs/website/documentation/changes/ \
src/benchmarks/results/

show more ...