| #
e6ab01ba
|
| 09-Jul-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-06-11/improve-mat-setable-values' into 'main'
Refactor handling of settable properties of matrix via MatSetOptions
See merge request petsc/petsc!5338
|
| #
b94d7ded
|
| 13-Jun-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Refactor handling of setable properties of matrices via MatSetOptions()
Introduce PetscBool3 with enum values true, false, and unknown
Use PetscBool3 to store matrices properties in a matrix and cl
Refactor handling of setable properties of matrices via MatSetOptions()
Introduce PetscBool3 with enum values true, false, and unknown
Use PetscBool3 to store matrices properties in a matrix and cleanup interface to check these values
Add full support for symmetric, Hermitian, structurally symmetric, and SPD.
Commit-type: feature /spend 6h
show more ...
|
| #
77903692
|
| 11-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'adams/kokkos-getdiagonal' into 'main'
add MatGetDiagonal to Kokkos
See merge request petsc/petsc!5317
|
| #
f78ce678
|
| 11-Jun-2022 |
Mark Adams <524115-markadams4@users.noreply.gitlab.com> |
add MatGetDiagonal to Kokkos
|
| #
e22bedb2
|
| 28-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jczhang/revise-kokkos-sycl' into 'main'
Revise Kokkos SYCL build
See merge request petsc/petsc!5279
|
| #
8b8b16f9
|
| 26-May-2022 |
Junchao Zhang <jczhang@mcs.anl.gov> |
Kokkos: guard a statement with kokkos version
|
| #
d8e9552a
|
| 06-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jczhang/feature-vec-coo' into 'main'
Support vector COO assembly
See merge request petsc/petsc!5171
|
| #
97a91c33
|
| 06-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jose/mat-dense-shift' into 'main'
Mat: implement MatShift() for dense matrices
See merge request petsc/petsc!5191
|
| #
5519a089
|
| 02-May-2022 |
Jose E. Roman <jroman@dsic.upv.es> |
Mat: fix bugs in aijkokkos matrices. We need to know when we can legitimately access A->aijkok.
|
| #
89669be4
|
| 02-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'psanan/docs-sphinx-man-pages' into 'main'
Integrate Man Pages into Sphinx Docs
Closes #1132 and #1015
See merge request petsc/petsc!4989
|
| #
db781477
|
| 25-Apr-2022 |
Patrick Sanan <patrick.sanan@gmail.com> |
Docs: bulk add backticks to .seealso man page fields
```python import os import re import fileinput
def _process_word(word): comma = "," if word.endswith(",") else "" return "`%s`%s" % (wor
Docs: bulk add backticks to .seealso man page fields
```python import os import re import fileinput
def _process_word(word): comma = "," if word.endswith(",") else "" return "`%s`%s" % (word.rstrip(","), comma)
def _process_stripped_line(line): return " ".join(map(_process_word, line.split()))
start_pattern = re.compile(r"^( *\.seealso:? )(.*$)")
def process_file(filename_full): with fileinput.FileInput(filename_full, inplace=True) as f: in_block = False for line in f: line_stripped = line.strip() # end ".seealso blocks" on a blank line or C-style comment close line_modified = None if not line_stripped: in_block = False elif line_stripped.endswith("*/"): in_block = False else: match = re.match(start_pattern, line) # not stripped line if match: indent = " " * len(match.group(1)) in_block = True line_modified = match.group( 1) + _process_stripped_line( match.group(2).strip()) elif in_block: line_modified = indent + _process_stripped_line( line_stripped) if line_modified: print(line_modified) # prints to the file else: print(line, end="") # prints to the file
BASE_DIRS = ["src", "include"] EXT = [".c", ".cxx", ".cpp", ".cu", ".h", ".hpp", ".hxx"] EXCLUDE_DIRS = ["tests", "tutorials", "ftn-auto", "ftn-custom", "benchmarks"]
def main(): """ Process everything """ for base in BASE_DIRS: for root, dirs, files in os.walk(base): for filename in files: if os.path.splitext(filename)[1] in EXT: filename_full = os.path.join(root, filename) print("FILE ---", filename_full) process_file(filename_full) for exclude_dir in EXCLUDE_DIRS: if exclude_dir in dirs: dirs.remove(exclude_dir)
if __name__ == "__main__": main() ```
show more ...
|
| #
c7b718f4
|
| 26-Apr-2022 |
Junchao Zhang <jczhang@mcs.anl.gov> |
MatSeqAIJKokkos: avoid zero the matrix in MatSetValuesCOO
|
| #
1335eab4
|
| 15-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-04-05/petscattrformat-all-the-rest' into 'main'
Enable PETSC_ATTRIBUTE_FORMAT()
See merge request petsc/petsc!5085
|
| #
63a3b9bc
|
| 06-Apr-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Enable PETSC_ATTRIBUTE_FORMAT()
|
| #
d206fd9d
|
| 29-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jczhang/feature-hypre-coo' into 'main'
Support COO for MatHypre
See merge request petsc/petsc!5023
|
| #
5fbaff96
|
| 25-Mar-2022 |
Junchao Zhang <jczhang@mcs.anl.gov> |
Mat: support COO for MatHypre
|
| #
7ee59b9b
|
| 25-Mar-2022 |
Junchao Zhang <jczhang@mcs.anl.gov> |
Mat: add MatSeqAIJGetCSRAndMemType()
|
| #
f882803c
|
| 26-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-02-23/variadic-chkerr' into 'main'
Variadic CHKERRQ()
See merge request petsc/petsc!4889
|
| #
9566063d
|
| 25-Mar-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
The great renaming:
- CHKERRQ() -> PetscCall() - CHKERRV() -> PetscCallVoid() - CHKERRMPI() -> PetscCallMPI() - CHKERRABORT() -> PetscCallAbort() - CHKERRCONTINUE() -> PetscCallContinue() - CHKERRXX
The great renaming:
- CHKERRQ() -> PetscCall() - CHKERRV() -> PetscCallVoid() - CHKERRMPI() -> PetscCallMPI() - CHKERRABORT() -> PetscCallAbort() - CHKERRCONTINUE() -> PetscCallContinue() - CHKERRXX() -> PetscCallThrow() - CHKERRCXX() -> PetscCallCXX() - CHKERRCUDA() -> PetscCallCUDA() - CHKERRCUBLAS() -> PetscCallCUBLAS() - CHKERRCUSPARSE() -> PetscCallCUSPARSE() - CHKERRCUSOLVER() -> PetscCallCUSOLVER() - CHKERRCUFFT() -> PetscCallCUFFT() - CHKERRCURAND() -> PetscCallCURAND() - CHKERRHIP() -> PetscCallHIP() - CHKERRHIPBLAS() -> PetscCallHIPBLAS() - CHKERRHIPSOLVER() -> PetscCallHIPSOLVER() - CHKERRQ_CEED() -> PetscCallCEED() - CHKERR_FORTRAN_VOID_FUNCTION() -> PetscCallFortranVoidFunction() - CHKERRMKL() -> PetscCallMKL() - CHKERRMMG() -> PetscCallMMG() - CHKERRMMG_NONSTANDARD() -> PetscCallMMG_NONSTANDARD() - CHKERRCGNS() -> PetscCallCGNS() - CHKERRPTSCOTCH() -> PetscCallPTSCOTCH() - CHKERRSTR() -> PetscCallSTR() - CHKERRTC() -> PetscCallTC()
show more ...
|
| #
5f80ce2a
|
| 24-Feb-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
chkerr and friends wrapped
|
| #
6584f52a
|
| 11-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/matis-negative-indices' into 'main'
matis negative indices
See merge request petsc/petsc!4923
|
| #
cbc6b225
|
| 10-Mar-2022 |
Stefano Zampini <stefano.zampini@gmail.com> |
MatSetPreallocationCOO: avoid MatHeaderMerge
|
| #
e8eeb4f0
|
| 04-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jczhang/feature-add-kokkos-doc' into 'main'
Add manuals for PETSc/Kokkos APIs and fully implement DMDAVecGetKokkosOffsetView()
See merge request petsc/petsc!4864
|
| #
3f3ba80a
|
| 01-Mar-2022 |
Junchao Zhang <jczhang@mcs.anl.gov> |
Mat: add MatAIJKokkos manual
|
| #
db898c34
|
| 28-Feb-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jed/fix-kokkos' into 'main'
Mat AIJKOKKOS: fix mismatched PetscLogGpuTimeBegin/End
See merge request petsc/petsc!4902
|