Rust-GPU / Rust-CUDA

Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.
Apache License 2.0
3.05k stars 118 forks source link

build failure -> rustc_codegen_nvvm(build) #19

Open 1617176084 opened 2 years ago

1617176084 commented 2 years ago

When I add this package cuda_builder = { version = "0.2", path = "./Rust-CUDA/crates/cuda_builder" } And compiled, and then they started a bunch of bugs, I had LLVM_ and CUDA installed

rustc_codegen_nvvm(build) image

RDambrosio016 commented 2 years ago

I may have forgotten to mention it in the guide but you must copy the rust-toolchain file to your own project root, that is because the codegen uses rustc internals so it cannot be stable until it is upstreamed in rustc