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

Error compiling cuda_kernel_helper.h: No such file or directory #100

Open
kasrayazdani opened this issue Jul 31, 2019 · 3 comments
Open

Comments

@kasrayazdani
Copy link

kasrayazdani commented Jul 31, 2019

I am not able to compile and was wondering if someone could help me.
I am using tf 1.14, gcc 5.4, python 3.7, and cuda 10.1

Here is the make error message:

$ make
nvcc --expt-relaxed-constexpr -g -std=c++11 -Ipython -c "import tensorflow; print(tensorflow.sysconfig.get_include())" -I"/usr/local/cuda-10.1/.." -DGOOGLE_CUDA=1 -DNDEBUG -D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES -D__STRICT_ANSI__ -D_GLIBCXX_USE_CXX11_ABI=0 -c src/ops/preprocessing/kernels/data_augmentation.cu.cc -x cu -Xcompiler -fPIC -o src/ops/build/data_augmentation.o
src/ops/preprocessing/kernels/data_augmentation.cu.cc:7:53: fatal error: tensorflow/core/util/cuda_kernel_helper.h: No such file or directory
compilation terminated.
Makefile:62: recipe for target 'preprocessing' failed
make: *** [preprocessing] Error 1

@Apostatee
Copy link

Apostatee commented Oct 18, 2019

That would be tf version problem, there are tons of bugs and I gave up finally

@wangzheng121
Copy link

我自己的亲身实践,tf1.13一切正常,只更改了tensorflow版本--1.15,然后就会报这个错误,我认为是tf版本的问题

@candlecove-nju
Copy link

Thank you! That really works! 谢谢!

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

4 participants