Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requesting help for updating Rust-CUDA to newer rustc version. #95

Closed
apriori opened this issue Nov 14, 2022 · 3 comments
Closed

Requesting help for updating Rust-CUDA to newer rustc version. #95

apriori opened this issue Nov 14, 2022 · 3 comments

Comments

@apriori
Copy link

apriori commented Nov 14, 2022

Hello everyone. It has been quite a while till the rust-toolchain has been updated. I've been trying to to get something up, but am kind of stuck due to lack of knowledge about the rustc codegen API. Can someone maybe take a look at my fork at https://github.com/apriori/Rust-CUDA/tree/update-to-latest-nightly and assist in its completion?

@thedodd
Copy link
Contributor

thedodd commented Nov 17, 2022

Definitely a great idea to get the toolchain updated!

@apriori
Copy link
Author

apriori commented Dec 17, 2022

The port compiles, however. Codegen does not seem to be working yet. Maybe someone of you can give it a try and also investigate. Make sure to get rid of register_attr in your gpu code as the feature has been dropped from rustc and is replaced with a scoped replacement register_tool that also requires a trampoline macro as shown in rust-gpu:c3a9b.
My fork injects the no_std and register_tool via rustc flags incudabuilder, however, one still requires a use cuda_std::nvmm_internal.

@apriori
Copy link
Author

apriori commented Dec 19, 2022

I opened #98. add_gpu is working in that state now. Further discussion should continue there.

@apriori apriori closed this as completed Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants