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

pip install fails with: fatal error: tensorflow/core/util/cuda_kernel_helper.h: No such file or directory #30

Closed
jimbojetlag opened this issue Jun 16, 2019 · 2 comments

Comments

@jimbojetlag
Copy link

dirt/csrc/rasterise_egl.cu:6:10: fatal error: tensorflow/core/util/cuda_kernel_helper.h: No such file or directory
 #include <tensorflow/core/util/cuda_kernel_helper.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I wonder if this is a Python 3 issue, as file tensorflow/core/util/cuda_kernel_helper.h does not com with tensorflow any more.

@pmh47
Copy link
Owner

pmh47 commented Jun 17, 2019

A few weeks ago this header has been renamed in the tensorflow repo to gpu_kernel_helper.h -- so try changing it accordingly in dirt's source (in both rasterise_egl.cu and rasterise_grad_egl.cu), and see if that fixes it. They have made a few related changes to function names, so they may be further modifications needed. I'll update DIRT once these changes in tensorflow have settled down.

pmh47 added a commit that referenced this issue Jul 1, 2019
- fixing include paths and symbol name for cuda helpers, following
changes to tensorflow
- changing get_lib to get_link_flags, to allow finding renamed
libtensorflow_framework.so.1
- bumping required tensorflow version to 1.6 (for the updated header
names; 1.5 is required for get_link_flags)
@pmh47
Copy link
Owner

pmh47 commented Jul 1, 2019

This has now been fixed in master.

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