Replies: 1 comment 3 replies
-
Maybe use |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings 💯
I have a little project, where I am writing a CC toolchain that will allow me to use Intel OneAPI SYCL, and would like to enable NVIDIA GPU support, and this repository is quite convenient because it can download the NVIDIA GPU dependencies. However does anybody know how to access the CUDA root path from within a custom CC toolchain? For example I could imagine it would be pretty neat if I could have one hermetic toolchain for SYCL, this rules_cuda hermetic toolchain, and blend the two together to enrich the SYCL toolchain.
I felt like the hacky solution would have been to load "find_cuda_toolkit" from "@rules_cuda//cuda/private:toolchain.bzl", however this yielded a cyclic error:
Any ideas would be immensely appreciated! I'll keep digging on my side but otherwise maybe I should just copy the code that downloaded CUDA 🤷🏻♂️
Beta Was this translation helpful? Give feedback.
All reactions