Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR 12198 #72

Open
wants to merge 10 commits into
base: PR-12198-base
Choose a base branch
from
Open

PR 12198 #72

wants to merge 10 commits into from

Conversation

jwillenbring
Copy link
Owner

Recreating PR 12198 to study complexity.

jhux2 and others added 10 commits September 1, 2023 17:59
This change makes usage of device type in unpackAndCombineWithOwningPIDsCount
consistent with unpackAndCombineIntoCrsArrays for identical input parameters.
Add additional timers
Optimization: only do deep copies if required by user option
Merges Tpetra_CrsMatrix methods unpackAndCombineWithOwningPIDsCount and
unpackAndCombineIntoCrsArrays.  Reduces number of deep copies.  Part of
larger effort to have TAFC run on device.

Temporary change in Tpetra_CrsMatrix_def.hpp:
    destMat->numImportPacketsPerLID_.modify_host()

because numImportPacketsPerLID_ is a Kokkos::DualView and hasn't been
properly marked as modified on host

Addresses trilinos#11693 and trilinos#11694.
Replace unpackAndCombineIntoCrsArrays version that accepts only
Teuchos Arrays/ArrayRCPs with one that accepts some Kokkos views.
(The conversion isn't complete, as upstream/downstream changes
are still to be done.)

Part of trilinos#11693 and trilinos#11694.
Update unpackAndCombineIntoCrsArrays unit test.
Leverage the fact that Tpetra::Details::Transfer has methods for
returning Kokkos::DualViews for remote, permuteTo, and permuteFrom
LIDs.

Part of trilinos#11693.
In response to review of PR trilinos#12036.
In response to review comment for PR trilinos#12036.
…ombine-new

Automatically Merged using Trilinos Pull Request AutoTester
PR Title: b'Tpetra: move unpack and combine to device in TAFC'
PR Author: jhux2
Adding whitespace to rerun Metrix++ GH Action.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants