Open Zepan opened 3 years ago
I'm using tf1.14, cuda 10.1, but get error:
/home/bits/ai_models/warp-ctc-crf/gpu_ctc/contrib/moderngpu/include/device/intrinsics.cuh(115): error: identifier "__shfl_up" is undefined /home/bits/ai_models/warp-ctc-crf/gpu_ctc/contrib/moderngpu/include/device/intrinsics.cuh(125): error: identifier "__shfl_up" is undefined 2 errors detected in the compilation of "/tmp/tmpxft_00007cfb_00000000-13_ctc_entrypoint.compute_70.cpp1.ii". CMake Error at crf_warpctc_generated_ctc_entrypoint.cu.o.cmake:279 (message): Error generating file /home/bits/ai_models/warp-ctc-crf/gpu_ctc/build/CMakeFiles/crf_warpctc.dir//./crf_warpctc_generated_ctc_entrypoint.cu.o CMakeFiles/crf_warpctc.dir/build.make:63: recipe for target 'CMakeFiles/crf_warpctc.dir/crf_warpctc_generated_ctc_entrypoint.cu.o' failed make[3]: *** [CMakeFiles/crf_warpctc.dir/crf_warpctc_generated_ctc_entrypoint.cu.o] Error 1 make[3]: Leaving directory '/home/bits/ai_models/warp-ctc-crf/gpu_ctc/build' CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/crf_warpctc.dir/all' failed make[2]: *** [CMakeFiles/crf_warpctc.dir/all] Error 2 make[2]: Leaving directory '/home/bits/ai_models/warp-ctc-crf/gpu_ctc/build' Makefile:83: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/bits/ai_models/warp-ctc-crf/gpu_ctc/build' Makefile:6: recipe for target 'GPUCTC' failed make: *** [GPUCTC] Error 2 /usr/local/include/fst/fst.h(98): error: namespace "std" has no member "string_view" /usr/local/include/fst/fst.h(103): error: namespace "std" has no member "string_view" /usr/local/include/fst/fst.h(122): error: namespace "std" has no member "string_view" 3 errors detected in the compilation of "/tmp/tmpxft_00007d0e_00000000-13_crf_entrypoint.compute_70.cpp1.ii". CMake Error at crf_fst_den_generated_crf_entrypoint.cu.o.cmake:279 (message): Error generating file /home/bits/ai_models/warp-ctc-crf/gpu_den/build/CMakeFiles/crf_fst_den.dir//./crf_fst_den_generated_crf_entrypoint.cu.o
I think your G++/GCC vision is different. Can you try to using gcc/g++ 5.5.0 just for testing.
I'm using tf1.14, cuda 10.1, but get error: