NVIDIA / NVIDIA/AMGX

How to check the matrix set by "AMGX_matrix_upload_all"

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

Nobody has claimed this yet.

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

Description

I read in a matrix from the matrix market file and upload the matrix with
"AMGX_matrix_upload_all(ADiffu, NumGlobalRows, NumGlobalNonzeros, 1, 1, &Row_Count[0], &Col_vec[0], &Val_vec[0], 0);"
where Row_Count Col_vec Val_vec are the arrays for the CSR matrix . My code is run with only 1 gpu and 1 process.
but I got a totally wrong results. The matrix can be solved successfully with "AMG_READ_system" command .
Could you please give me some infos about how to check the matrix that I read in is correct.

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 with the issue's AMGX_matrix_upload_all call and the Row_Count, Col_vec, and Val_vec CSR arrays, then compare that input with the matrix loaded through AMG_READ_system. The issue provides no file or test entry point; done would mean isolating why the uploaded matrix produces different results or documenting the correct way to inspect it.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.