How to create matrix from not importing file?
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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