History log of /petsc/src/vec/is/sf/impls/basic/sfbasic.c (Results 101 – 125 of 271)
Revision Date Author Comments
# 40e23c03 25-Jun-2019 Junchao Zhang <jczhang@mcs.anl.gov>

Simplify packing routines with macros and optimize packing by using index patterns


# e2652d4c 18-Jun-2019 Junchao Zhang <jczhang@mcs.anl.gov>

Implement PetscSFBcast with PetscSFBcastAndOp


# 89583661 21-Jun-2019 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/barry/add-petscarrayxxx-ops' [PR #1771]


# 580bdb30 07-Jun-2019 Barry Smith <bsmith@mcs.anl.gov>

Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new forms

Replace a couple multi-mallocs with a single malloc
Replace backwards loops in MatSetValues_*()

Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new forms

Replace a couple multi-mallocs with a single malloc
Replace backwards loops in MatSetValues_*() with PetscArraymove()

Commit-type: style-fix, feature

show more ...


# b67a4fc1 18-May-2019 Stefano Zampini <stefano.zampini@gmail.com>

Merged in stefano_zampini/dmplex-speedup (pull request #1665)

Last speedups to the PLEX code with large number of MPI processes

Approved-by: Matthew Knepley <knepley@gmail.com>


# aeb3a1ac 13-May-2019 Stefano Zampini <stefano.zampini@gmail.com>

PetscSFSetUp_Basic: fix coding standards


# 5d9714dc 05-Apr-2019 Junchao Zhang <junchao.zhang@gmail.com>

Merged in jed/feature-sf-char (pull request #1511)

Add signed char, unsigned char, and char support to SF

Approved-by: Jed Brown <jed@59a2.org>
Approved-by: BarryFSmith <bsmith@mcs.anl.gov>


# 21441231 04-Apr-2019 Junchao Zhang <jczhang@mcs.anl.gov>

Make SF eable to handle dumb types of any size


# e19611c4 04-Apr-2019 Junchao Zhang <jczhang@mcs.anl.gov>

Add support of signed/unsigned char in SF


# f58db35a 03-Apr-2019 Jed Brown <jed@jedbrown.org>

SF: add support for char types


# 10682a7e 26-Mar-2019 Lisandro Dalcin <dalcinl@gmail.com>

Merged in dalcinl/plex-distribute (pull request #1454)

DMPLEX: Speedup DMPlexDistribute[Overlap]()

Approved-by: Matthew Knepley <knepley@gmail.com>


# d7fc57b6 25-Mar-2019 Junchao Zhang <junchao.zhang@gmail.com>

Merged in jczhang/vecscat-add-opts (pull request #1462)

Add two small optimizations in VecScatter and SF before release

Approved-by: BarryFSmith <bsmith@mcs.anl.gov>
Approved-by: Jed Brown <jed@59a

Merged in jczhang/vecscat-add-opts (pull request #1462)

Add two small optimizations in VecScatter and SF before release

Approved-by: BarryFSmith <bsmith@mcs.anl.gov>
Approved-by: Jed Brown <jed@59a2.org>

show more ...


# b1cd171b 22-Mar-2019 Junchao Zhang <jczhang@mcs.anl.gov>

Use an enum instead of a boolean to indicate operation in SF


# 30e38525 20-Mar-2019 Junchao Zhang <jczhang@mcs.anl.gov>

Use persistent send/recv in SF


# 645adeda 19-Mar-2019 Lisandro Dalcin <dalcinl@gmail.com>

PETSCSFBASIC: Follow usual MPICH send/recv order in SetUp.

Follow MPICH pattern in the implementation of neighbor collectives

* Post all sends first
* Post all recvs second
* Handle messages to sel

PETSCSFBASIC: Follow usual MPICH send/recv order in SetUp.

Follow MPICH pattern in the implementation of neighbor collectives

* Post all sends first
* Post all recvs second
* Handle messages to self with memcpy
* Complete a single wait call

show more ...


# 8000f006 15-Mar-2019 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' of bitbucket.org:petsc/petsc


# 553225e2 14-Mar-2019 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/jczhang/vecscat-in-sf' [PR #1396]


# d2a25953 07-Mar-2019 Junchao Zhang <jczhang@mcs.anl.gov>

Remove {} around SETERRQ


# 647a6db4 22-Feb-2019 Junchao Zhang <jczhang@mcs.anl.gov>

Always use const data as key to look up links in SF

With this modification, we can have a VecScatter implementation that in VecScatterBegin(..,x,y,..),
one only accesses the read-only vector x and d

Always use const data as key to look up links in SF

With this modification, we can have a VecScatter implementation that in VecScatterBegin(..,x,y,..),
one only accesses the read-only vector x and does not access y - the vector to write. Access to y is
pushed to VecScatterEnd(..,x,y,..).

The benefit is that we can get rid of VecGet/RestoreArray(y,..) in VecScatterBegin().
For vectors that are on GPU or not petsc native (e.g., VecNest), getting/restoring arrays are quite expensive.

In other words, we do lazy data access -- we only access data when we need it. This discussion also applies to PetscSFXxxBegin/End.

show more ...


# 77b7e48d 11-Feb-2019 Junchao Zhang <jczhang@mcs.anl.gov>

Handle MPI builtin types specially in SF to make the common case fast

We do not need complicated dup and compare logic for builtin types.
Note that VecScatter only has one type, MPIU_SCALAR.


# 0b899082 08-Feb-2019 Junchao Zhang <jczhang@mcs.anl.gov>

Make incoming ranks in PetscSFSetUp_Basic() sorted

This is cheap and is needed by MatGetBrowsOfAoCols_MPIAIJ()


# 8750ddeb 01-Feb-2019 Junchao Zhang <jczhang@mcs.anl.gov>

Add PetscSFGetLeafRanks()

Existing PetscSFGetRanks() only returns ranks this process will send to.
This new one gives ranks the process will receive from.


# 3482bfa8 29-Jan-2019 Junchao Zhang <jczhang@mcs.anl.gov>

Add a basic implementation of PetscSFBcastAndOp


# a1a5ab92 28-Jan-2019 Joseph Pusztay <josephpusztay@Josephs-MacBook-Pro.local>

Merge branch 'master' into jpusztay/feature-swarm-symplectic-example


# f35fe2a5 06-Dec-2018 Joseph Pusztay <josephpu@buffalo.edu>

Merged petsc/petsc into master


1234567891011