Closed girgink closed 2 years ago
Have you checked https://github.com/tensorflow/addons/pull/2605 ?
I didn't see that, thanks.
Let me know if we could close this
Sorry for the delay. Yes #2605 is about the same issue, please feel free to close this.
System information
Describe the bug Because Jetson AGX Xavier has CUDA 10.2, the system includes
build_deps/toolchains/gpu/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc.tpl
, which only defines rules for C++11. However TF 2.7.0 uses C++14 (e.g. intensorflow/core/framework/tensor_types.h
,MaybeWith32BitIndexingImpl<Eigen::GpuDevice>.operator()
). Therefore build fails.Code to reproduce the issue
Other info / logs
Replacing all
c++11
withc++14
inbuild_deps/toolchains/gpu/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc.tpl
solved the issue. Just in case, I also replaced allc++11
withc++14
inbuild_deps/toolchains/gpu/crosstool/cc_toolchain_config.bzl.tpl
. I see that CUDA 11 configuration files include C++14 rules. It can be good to add them also other CUDA configurations.