NVIDIA / NVIDIA/AMGX

coarser level matrix update during resetup process

Open
#127 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Cuda
Stars
692
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Hi,

I notice that if I update the matrix entries value and keep the matrix sparsity pattern the same, I may able to use the resetup function to reuse the previous step coarsening structure. The structure_reuse_levels option needs to be set to "-1".

My question is although the structure is reused, computeAOperator function will still re-compute the sparsity before fill the Ac matrix, is it possible to skip this sparsity recomputing?

Thanks
Frank

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the resetup process with structure_reuse_levels set to "-1", then inspect the computeAOperator step that recomputes sparsity before filling the Ac matrix. Determine whether unchanged matrix sparsity can safely bypass that recomputation, and verify the behavior for updated matrix values with the same sparsity pattern.

Written by the indexing model from the issue text.

Assessment

Domain
hpc, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.