-
Notifications
You must be signed in to change notification settings - Fork 194
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
Solution to " undefined symbol: _ZN10tensorflow8 .... " #41
Comments
I'm working with the same environment and made these edits. I got the following: File "/home/charles/Libraries/anaconda2/envs/tensorflow1.2/lib/python2.7/site-packages/tensorflow/python/framework/load_library.py", line 64, in load_op_library This is after commenting out -DGOOGLE_CUDA=1. With that, I get the following error during the make process: 48 errors detected in the compilation of "/tmp/tmpxft_000076b3_00000000-7_data_augmentation.cu.cpp1.ii". |
facing the same issues, finally got results #28 |
@Wxjwjj ,Hi, I compiled the makefile sucessflully.But I got the error "_ZTIN10tensorflow8OpKernelE" ,My code is that , Could you help me please? TF_INC = ifndef CUDA_HOME CC = gcc -O2 -pthread OUT_DIR = src/ops/build DOWNSAMPLE_SRC = "src/ops/downsample/downsample_kernel.cc" "src/ops/downsample/downsample_op.cc" CORRELATION_SRC = "src/ops/correlation/correlation_kernel.cc" "src/ops/correlation/correlation_grad_kernel.cc" "src/ops/correlation/correlation_op.cc" FLOWWARP_SRC = "src/ops/flow_warp/flow_warp_op.cc" "src/ops/flow_warp/flow_warp.cc" "src/ops/flow_warp/flow_warp_grad.cc" ifeq ($(OS),Windows_NT) all: preprocessing downsample correlation flowwarp preprocessing: downsample: correlation: flowwarp: clean: |
@Iamanorange Thanks for your help! |
Enev:
cuda: 9.0
cudnn: 9.0
tensorflow: 1.8.0
Ubuntu16.04
Makefile modified
Headers modified (from error)
vi cuda_device_functions.h / cuda_launch_config.h / cuda_kernel_helper.h
and modify the the headers
eg:
#include "cuda/include/cuda_fp16.h" to #include "cuda_fp16.h"
The text was updated successfully, but these errors were encountered: