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

Possible source of <cuda_runtime_api.h> error on Windows #58

Open
N2ITN opened this issue May 29, 2016 · 6 comments
Open

Possible source of <cuda_runtime_api.h> error on Windows #58

N2ITN opened this issue May 29, 2016 · 6 comments

Comments

@N2ITN
Copy link

N2ITN commented May 29, 2016

I am getting the following error on compilation:

In file included from src/nnet/conv_bc01_matmul.cpp:1:0:
./include/cudarray/common.hpp:8:30: fatal error: cuda_runtime_api.h: No such file or directory
 #include <cuda_runtime_api.h>

I suspect the reason is that by default, Windows installs CUDA a path that includes spaces:
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/

I know CUDA is installed properly on my system because it works fine using cuDNN with Keras.

If this is the case, is there a workaround, like providing the make file with a link?

Changing the file path might work, but it seems like a stretch.

@N2ITN N2ITN changed the title <cuda_runtime_api.h> error <cuda_runtime_api.h> error on Windows May 29, 2016
@N2ITN N2ITN changed the title <cuda_runtime_api.h> error on Windows Possible source of <cuda_runtime_api.h> error on Windows May 29, 2016
@JackYoustra
Copy link

Alternatively, perhaps it could work if a symlink was created

@lborg019
Copy link

lborg019 commented Nov 6, 2016

same error, no idea how to fix.
According to this stackoverflow question, it MIGHT be solvable using pyCUDA and Conda.

http://stackoverflow.com/questions/38293639/errors-installing-cuda-back-end-or-cudarray-in-python-in-windows-10

@KeyWgh
Copy link

KeyWgh commented Jan 2, 2017

Have you issued that problem yet? It really cost me a lot of time to find a solution.

@wickedcode01
Copy link

the same problem

@wickedcode01
Copy link

wickedcode01 commented Jul 19, 2017

we need the provider fix it or give us some solution!

@wickedcode01
Copy link

@andersbll

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

5 participants