History log of /petsc/include/petscmacros.h (Results 76 – 100 of 117)
Revision Date Author Comments
# d71ae5a4 21-Sep-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

source code format changes due to .clang-format changes


# 2327d8b0 17-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-09-12/fix-petscdeviceallocate-alignment' into 'main'

PetscDeviceAllocate() Alignment Parameter

See merge request petsc/petsc!5618


# 6797ed33 12-Sep-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

PetscDeviceAllocate() takes an alignment parameter as well


# 3822b603 15-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-09-14/mpi-datatype-type-checking' into 'main'

Re-enable MPI_Datatype compiler type checking attributes

See merge request petsc/petsc!5636


# 93d501b3 14-Sep-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Re-enable MPI_Datatype compiler type checking attributes, and add them to a few more places


# fb664f9e 10-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-08-29/petscdevicecontext-backend-update' into 'main'

Update PetscDevice and PetscDeviceContext backends

See merge request petsc/petsc!5566


# 0e6b6b59 29-Aug-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Rework PetscDeviceContext backends and supporting code:
- Add PETSC_DEVICE_HOST
- Add PetscDeviceAllocate()
- Add PetscDeviceMalloc()
- Add PetscDeviceDeallocate()
- Add PetscDeviceFree()
- Add Petsc

Rework PetscDeviceContext backends and supporting code:
- Add PETSC_DEVICE_HOST
- Add PetscDeviceAllocate()
- Add PetscDeviceMalloc()
- Add PetscDeviceDeallocate()
- Add PetscDeviceFree()
- Add PetscDeviceMemcopy()
- Add PetscDeviceArraycopy()

- Split petscdevice.h into petscdevice_cuda.h and petscdevice_hip.h
- Add petscdevice_cupm.h
- Extend cupm::Interface and cupm::BlasInterface classes
- Add more C++ utility wrappers

show more ...


# 58d68138 23-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-08-21/clang-format-source' into 'main'

format repository with clang-format

See merge request petsc/petsc!5541


# 9371c9d4 22-Aug-2022 Satish Balay <balay@mcs.anl.gov>

clang-format: convert PETSc sources to comply with clang-format


# 8fd105b6 17-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-06-28/add-petsccallmethod' into 'main'

Introduce PetscTryTypeMethod and PetscUseTypeMethod to replace ad hoc use of (*obj->ops->method) in source

See merge request petsc/

Merge branch 'barry/2022-06-28/add-petsccallmethod' into 'main'

Introduce PetscTryTypeMethod and PetscUseTypeMethod to replace ad hoc use of (*obj->ops->method) in source

See merge request petsc/petsc!5376

show more ...


# 32105407 17-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-08-13/fix-man-include' into 'main'

Fix up manual pages in include/ including adding tick marks

See merge request petsc/petsc!5528


# 87497f52 14-Aug-2022 Barry Smith <bsmith@mcs.anl.gov>

Fix up manual pages in include/ including adding tick marks

Commit-type: documentation
/spend 4h


# 296d8154 28-Jun-2022 Barry Smith <bsmith@mcs.anl.gov>

Add PetscUseTypeMethod() and PetscTryTypeMethod() as systematic replacement for (*obj->ops->method) with error checking

Commit-type: housekeeping, maintainability
/spend 20m


# 71075aaf 20-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 57e3f0c7 20-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/codespell-fixes' into 'release'

A few codespell fixes

See merge request petsc/petsc!5259


# 6aad120c 19-May-2022 Jose E. Roman <jroman@dsic.upv.es>

A few codespell fixes


# 6ffe77ea 12-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-05-03/cleanup-makefiles' into 'main'

remove unneeded stuff from makefiles

See merge request petsc/petsc!5211


# ac09b921 05-May-2022 Barry Smith <bsmith@mcs.anl.gov>

Get values of makefile SOURCE etc from the file system instead of makefiles

Use SUBMANSEC from include files for manual sections instead of the makefile

Unfortunately this has to be one large commi

Get values of makefile SOURCE etc from the file system instead of makefiles

Use SUBMANSEC from include files for manual sections instead of the makefile

Unfortunately this has to be one large commit since the changes all have to be done at once

Commit-type: docs
/spend 10m

show more ...


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


# 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()


# bf1f1c24 31-Mar-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/feature-alen' into 'main'

Add PETSC_STATIC_ARRAY_LENGTH

See merge request petsc/petsc!5055


# dd39110b 30-Mar-2022 Pierre Jolivet <pierre@joliv.et>

Add PETSC_STATIC_ARRAY_LENGTH


# ed26b609 26-Mar-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'balay/doc-fixes' into 'main'

doc fixes

See merge request petsc/petsc!5028


12345