densehdf5.c: include petsclayouthdf5.h
Revert "PetscViewerHDF5Load added _Private suffix and made PETSC_EXTERN."This reverts commit 8cc8c34984a012aa0e2e042591d19b5c5432d747.
Merge branch 'stefano_zampini/fix-cudadense-warnings' [PR #1935]* stefano_zampini/fix-cudadense-warningsMATSEQDENSECUDA: Fix warningsFixes some warnings (actually semantical errors) reported by B
Merge branch 'stefano_zampini/fix-cudadense-warnings' [PR #1935]* stefano_zampini/fix-cudadense-warningsMATSEQDENSECUDA: Fix warningsFixes some warnings (actually semantical errors) reported by Barry
show more ...
MATSEQDENSECUDA: Fix warnings
Fix compile warnings --with-cuda
Added MATSEQDENSECUDA
MATSEQDENSE: prepare the class for CUDA extensionexpose (intern) few methods via dense.hFor consistency of the memory model, use MatDenseGetArray as much as possibleRemove MatSolveAdd routines as
MATSEQDENSE: prepare the class for CUDA extensionexpose (intern) few methods via dense.hFor consistency of the memory model, use MatDenseGetArray as much as possibleRemove MatSolveAdd routines as they were redundant with the public interfaceMatMatSolve_SeqDense: let PETSc complain only if MatDenseGetArray is not implemented
MatMatMult(SeqBAIJ,SeqDense,SeqDense)
Merge branch 'jed/fix-type-type_name/maint' [PR #1863]* jed/fix-type-type_name/maint:Fix use of PetscObject type as string (should be type_name)
Fix use of PetscObject type as string (should be type_name)Commit-type: bug-fixReported-by: Vaclav Hapla <vaclav.hapla@erdw.ethz.ch>
Merge from doc-fixes branch
Fixes for doctext update
Merged in barry/optimize-aij-da (pull request #1762)Non-numeric optimizations focused on AIJ, MatFDColoring, and DMCreateMatrix_DA_*AIJ, looking to improve performance in GPU environments
Non-numeric optimizations focused on AIJ, MatFDColoring, and DMCreateMatrix_DA_*AIJ, looking to improve performance in GPU environments1) PetscCalloc*() now uses system calloc()2) Merged some Pets
Non-numeric optimizations focused on AIJ, MatFDColoring, and DMCreateMatrix_DA_*AIJ, looking to improve performance in GPU environments1) PetscCalloc*() now uses system calloc()2) Merged some PetscMalloc*()3) Eliminated unneeded PetscCalloc*()4) Removed some memory allocations and copies in MatFDColoringSetUp(), added local variables for better compiler optimization5) Added MatSetValues_SeqAIJ_SortedFull(), added MatSetOption(MAT_SORTED_FULL)6) Optimized DMCreateMatrix_DA_*AIJ for nonperiodic case to automatically have sorted columns (faster MatSetValues() times)7) Eliminated call to PetscMemzero() in PetscFree()Commit-type: style-fix, feature
Merged in haplav/feature-matload-dense-hdf5 (pull request #1795)MatLoad_Dense_HDF5Approved-by: BarryFSmith <bsmith@mcs.anl.gov>
PetscViewerHDF5Load added _Private suffix and made PETSC_EXTERN.Needs to PETSC_EXTERN as it is now used in Mat.
MatLoad_Dense_HDF5 impl.
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new formsReplace a couple multi-mallocs with a single mallocReplace backwards loops in MatSetValues_*()
Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new formsReplace a couple multi-mallocs with a single mallocReplace backwards loops in MatSetValues_*() with PetscArraymove()Commit-type: style-fix, feature
Update the use of Collective on in the manual pages to reflect the new styleCommit-type: style-fix, documentationThanks-to: Patrick Sanan <patrick.sanan@gmail.com>
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be unif
Man pages: remove .keywords: fieldsThis field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),but it doesn't seem to be uniformly used or maintained.Thus, remove all .keywords: fields, and a following blank line, if present.This is accomplished with GNU sed (gsed on OS X), with the following commands.*Warning* that this type of command can corrupt a .git directory,so be cautious in reusing or modifying these commands. They first lookfor and delete matching lines with a following line consisting of only whitespace,and then delete any remaining matching lines. find src/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find src/ -type f -exec gsed -i '/keywords:/d' {} + find include/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} + find include/ -type f -exec gsed -i '/keywords:/d' {} +Hints on the sed command obtained from: https://unix.stackexchange.com/questions/100754/how-to-delete-a-specific-line-and-the-following-blank-line-using-gnu-sed
Binary I/O: Various fixes and enhancements* Change PetscBinary[Synchronized]Read() to allow for reading items up to EOF without erroring* Fix PetscViewerBinaryRead() to properly return the numbe
Binary I/O: Various fixes and enhancements* Change PetscBinary[Synchronized]Read() to allow for reading items up to EOF without erroring* Fix PetscViewerBinaryRead() to properly return the number of items read* Fix PetscViewerRead() to prevent infinite loops at EOF* Various fixes for PetscDataType PETSC_COMPLEX
Use MatDenseGetArrayRead() rather than MatDenseGetArray() when possibleCommit-type: style-fix, feature
Add optimized form of MatGetColumnVector()Commit-type: featureReported-by: Piyoosh Jaysaval <Piyoosh.Jaysaval@pnnl.gov>
MATSEQDENSE: Fix MatZeroRowsColumns
MATSEQDENSE: prevent from calling gemm if any size is zero in MatMat ops
1...<<11121314151617181920>>...38