History log of /petsc/include/petscdevice.h (Results 26 – 50 of 69)
Revision Date Author Comments
# 547419b7 15-Oct-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-10-04/improve-device-test-coverage' into 'main'

Improve coverage of various PetscDevice and PetscDeviceContext corner cases

See merge request petsc/petsc!5712


# f9fea11e 04-Oct-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

improve coverage of various PetscDevice and PetscDeviceContext corner cases


# 061e922f 22-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-09-21/2-bike-2-shed' into 'main'

Feature: Bicycle Storage Facility 2

See merge request petsc/petsc!5661


# d71ae5a4 21-Sep-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

source code format changes due to .clang-format changes


# 5748165a 19-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-09-19/doc/fixup-petscdevicearraycopy' into 'main'

Fixup PetscDeviceArrayCopy Synopsis

See merge request petsc/petsc!5654


# 6bc29738 19-Sep-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

fixup synopsis to reflect removed parameters


# 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


# 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


# 654002af 16-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/update-hip-header-dirs' into 'main'

Use hip new header directories to avoid deprecation warnings

See merge request petsc/petsc!5531


# bf0145d5 15-Aug-2022 Junchao Zhang <jczhang@anl.gov>

HIP: use hip new header directories to avoid deprecation warngins


# d710f6b2 26-Jul-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-07-20/fix-using-seterrq' into 'main'

Remove outdated use of if() SETERRQ

See merge request petsc/petsc!5457


# 7a46b595 20-Jul-2022 Barry Smith <bsmith@mcs.anl.gov>

Remove outdated use of if() SETERRQ

Commit-type: style
/spend 20m
Reported-by: clang-format


# a78494e5 26-Jul-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/add-PetscCallCUDAVoid' into 'main'

Add PetscCallCUDAVoid()

See merge request petsc/petsc!5474


# cdf8bc64 25-Jul-2022 Junchao Zhang <jczhang@mcs.anl.gov>

Sys: add PetscCallCUDAVoid


# f7673332 19-Jul-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'petsc_device' into 'main'

[petsc4py]: add bindings for PetscDeviceInitialize(d?)

See merge request petsc/petsc!5400


# f61c9696 18-Jul-2022 Kaushik Kulkarni <kaushikcfd@gmail.com>

make symbols PetscDeviceInitialize(d?) available even if (!PETSC_HAVE_CXX)


# 44e5f0e3 29-Jun-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'wence/petsc-check-do-while' into 'main'

Wrap PetscCheck and PetscAssert in do { } while (0)

Closes #1199

See merge request petsc/petsc!5291


# f7d195e4 28-May-2022 Lawrence Mitchell <lawrence@wence.uk>

Wrap PetscCheck and PetscAssert in do { } while (0)

These macros look like functions, so they should behave like
functions. Fix up the resulting invalid syntax due to the previous
behaviour of these

Wrap PetscCheck and PetscAssert in do { } while (0)

These macros look like functions, so they should behave like
functions. Fix up the resulting invalid syntax due to the previous
behaviour of these macros being "if (...)
statement_without_semicolon". Fixes #1199.

show more ...


# 145e6476 23-Jun-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-06-13/make-one-line-if-call' into 'main'

Change if () { PetscCall() } three liner to one liner

See merge request petsc/petsc!5344


# 1baa6e33 14-Jun-2022 Barry Smith <bsmith@mcs.anl.gov>

Change if () { PetscCall() } three liner and friends to one liners

for i in `git ls-files | grep "\.[ch]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ ]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\

Change if () { PetscCall() } three liner and friends to one liners

for i in `git ls-files | grep "\.[ch]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ ]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\$[ ]*PetscCall(\([- ._+=a-z0-9A-Z>*,()]*);\)\$[ ]*}\$?\1if (\2) PetscCall(\3$?g' | tr '$' '\n' | sed 's?ZZZ?$?g' > $i.joe ; mv $i.joe $i ; done

for i in `git ls-files | grep "\.[hc]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ }else]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\$[ ]*PetscCall(\([- ._+=a-z0-9A-Z>*,()]*);\)\$\([ ]*\)} \([- ._+=a-z0-9A-Z>*,()]*);\)\$?\1if (\2) PetscCall(\3$\4\5$?g' | tr '$' '\n' | sed 's?ZZZ?$?g' > $i.joe ; mv $i.joe $i ; done

Yes, really ugly but Barry still cannot master awk

Commit-type: housekeeping

show more ...


# 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


123