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

Setting CUDA_PATH for cupy #129

Open
jakirkham opened this issue Mar 13, 2019 · 2 comments
Open

Setting CUDA_PATH for cupy #129

jakirkham opened this issue Mar 13, 2019 · 2 comments

Comments

@jakirkham
Copy link

jakirkham commented Mar 13, 2019

CuPy looks for the local CUDA install using (in part) the CUDA_PATH environment variable. If possible, it would be nice to set this so it points to cudatoolkit. If not possible, it would be nice to have a post-link script that recommends setting this environment variable.

@jjhelmus
Copy link
Contributor

Is CuPy looking for the CUDA libraries or the nvcc compiler? The former are provided by the cudatoolkit package and a activation script could set CUDA_PATH to point at these. If CuPy needs nvcc this unfortunately is not provided in the cudatoolkit package.

@jakirkham
Copy link
Author

Here's the relevant line. It only needs CUDA_PATH; so, an activation script should be fine. It will also look for nvcc if it cannot find CUDA_PATH, but only as a way to find what CUDA_PATH should be.

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