NVIDIA / NVIDIA/AMGX

How to create matrix from not importing file?

Open
#329 4 comments 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

Hello,
I'm trying to create a matrix from the standard C++ matrix.

I'm reading the AmgX API reference and AMGX_create_matrix is only for existing matrices with handles (but where do we create the matrix?). Matrix_read (or something similar) would require writing and reading file every time I want to compute, which may be up to 250 times per simulation (for multibody dynamics).

Can't I simply write a matrix which is already in memory to be accessed by AmgX? Seems like an obvious solution. I probably can't simply find the necessary API.
Cheers.

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 AMGX API reference and inspect AMGX_create_matrix and Matrix_read, which the issue identifies as the relevant entry points. Determine whether an in-memory standard C++ matrix can be passed to AmgX without file I/O; done means the supported entry point or the missing API requirement is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, hpc
Issue type
Feature
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.