Skip to content

SStruct matvec copy to/from parcsr - #1578

Draft
waynemitchell wants to merge 27 commits into
masterfrom
sstruct_matvec
Draft

SStruct matvec copy to/from parcsr#1578
waynemitchell wants to merge 27 commits into
masterfrom
sstruct_matvec

Conversation

@waynemitchell

Copy link
Copy Markdown
Contributor

This modifies the way we do the sstruct matvec. In this version, we do a copy between the relevant sstruct vectors and temporary par vectors to perform the parcsr component of the matvec. This relaxes the previous requirement that the sstruct vector's underlying data layout be a single contiguous block corresponding to the data for the par vectors used in the parcsr matvec. This will be important if we want to be able to avoid resizing/restoring the underlying struct vectors for each matvec.

…and global rank. Also add user API for setting arbitrary data in sstruct matrix in a big array.
…ft of implementation. This is not yet tested.
… for doing the copying during matvec. Added code to get the ranks/indexes to copy back and forth. Still need to implement the actual copy.
…es() so that I can remove HYPRE_SStructVectorGather() and directly access the correct values
…o make incremental progress here and have all the data in the right place.
…mplementation of IndexesToGlobalRanks for now.
@waynemitchell
waynemitchell changed the base branch from master to sstruct_parcsr_mapping July 23, 2026 17:07
@waynemitchell
waynemitchell changed the base branch from sstruct_parcsr_mapping to master July 23, 2026 17:13
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.

1 participant