Is it possible to provide a LLVM independent build?
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 5.4k
- Forks
- 249
- PR merge metrics
- No merged PRs in 30d
Description
I tried to publish another cuda crate without llvm or specific rust compiler support:
https://github.com/Neutron3529/cuda_min
Such crate works very well, and thus I have some doubt: why a specific llvm version and rust version is needed?
It seems that
llvm-bitcode-linkercould compile rust code into PTX- nvidia driver could load PTX code directly. (no need to install
cudart, nvidia's driver provides interfaces such ascuInit.)
I just wonder why a specific llvm version even a specific rustc version is required. We should have the ability to compile a cuda program easier.
Contributor guide
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 llvm-bitcode-linker and the NVIDIA driver loading path described in the issue, comparing them with the project's current LLVM and rustc requirements. Determine whether PTX can be compiled and loaded without fixed LLVM or Rust versions; done means a concrete implementation path or a documented reason the independent build is not feasible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100