frobelbest / BANet

Source Code for the Paper BA-Net: Dense Bundle Adjustment Network
298 stars 21 forks source link

compiling utils.cu fails #7

Open zhangybzbo opened 4 years ago

zhangybzbo commented 4 years ago

I'm trying to compile utils.cu but get loads of warning and 4 fatal errors, any solution?

My environment: cuda10.2 + tensorflow2.1&2.3 (installed through anaconda, both fail)

Command I run:

nvcc -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -c -o utils.cu.o utils.cu -I /usr/local -I /playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include -I/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/external/nsync/public -D GOOGLE_CUDA=1 -x cu -Xcompiler -fPIC -D_GLIBCXX_USE_CXX11_ABI=0

Error message:

In file included from utils.cu:41:0: /playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h:3:2: warning: #warning "Deprecated header file, please either include the main Eigen/CXX11/Tensor header or the respective TensorDeviceGpu.h file" [-Wcpp]

warning "Deprecated header file, please either include the main Eigen/CXX11/Tensor header or the respective TensorDeviceGpu.h file"

^ /playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(114): warning: host annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(114): warning: device annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: host annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: device annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: host annotation is ignored on a function("~no_assignment_operator") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: device annotation is ignored on a function("~no_assignment_operator") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): warning: calling a constexpr host function("real") from a host device function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): warning: calling a constexpr host function("imag") from a host device function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1421): warning: calling a constexpr host function("real") from a host device function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1421): warning: calling a constexpr host function("imag") from a host device function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1421): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1421): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1445): warning: calling a constexpr host function("real") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1446): warning: calling a constexpr host function("imag") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1447): warning: calling a constexpr host function("imag") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1445): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1446): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1447): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1448): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1453): warning: calling a constexpr host function("real") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1454): warning: calling a constexpr host function("imag") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1455): warning: calling a constexpr host function("imag") from a host device function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1453): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1454): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1455): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1456): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(73): warning: calling a constexpr host function("real") from a host device function("bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(73): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(75): warning: calling a constexpr host function("real") from a host device function("bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(75): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(118): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(121): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(295): warning: calling a constexpr host function("min") from a host device function("truncate_to_bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(297): warning: calling a constexpr host function("signbit") from a host device function("truncate_to_bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(297): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(337): warning: calling a constexpr host function("min") from a host device function("float_to_bfloat16_rtne") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(339): warning: calling a constexpr host function("signbit") from a host device function("float_to_bfloat16_rtne") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(339): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(513): warning: calling a constexpr host function("isinf") from a host device function("isinf") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(513): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(516): warning: calling a constexpr host function("isnan") from a host device function("isnan") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(516): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/Default/BFloat16.h(671): warning: calling a host function from a host device function is not allowed

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/DenseBase.h(639): warning: host annotation is ignored on a function("DenseBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/DenseBase.h(639): warning: device annotation is ignored on a function("DenseBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(484): warning: host annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(484): warning: device annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: host annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: device annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: host annotation is ignored on a function("~MatrixBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: device annotation is ignored on a function("~MatrixBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(156): warning: host annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(156): warning: device annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: host annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: device annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: host annotation is ignored on a function("~ArrayBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: device annotation is ignored on a function("~ArrayBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(70): warning: host annotation is ignored on a function("CwiseUnaryView") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(70): warning: device annotation is ignored on a function("CwiseUnaryView") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(110): warning: host annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(110): warning: device annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: host annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: device annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: host annotation is ignored on a function("~CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: device annotation is ignored on a function("~CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(185): warning: host annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(185): warning: device annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: host annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: device annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: host annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: device annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(300): warning: host annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(300): warning: device annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: host annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: device annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: host annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: device annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Map.h(162): warning: host annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Map.h(162): warning: device annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(90): warning: host annotation is ignored on a function("RefBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(90): warning: device annotation is ignored on a function("RefBase") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(232): warning: host annotation is ignored on a function("Ref") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(232): warning: device annotation is ignored on a function("Ref") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(111): warning: host annotation is ignored on a function("Block") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(111): warning: device annotation is ignored on a function("Block") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(161): warning: host annotation is ignored on a function("BlockImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(161): warning: device annotation is ignored on a function("BlockImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(181): warning: host annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(181): warning: device annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(341): warning: host annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(341): warning: device annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(114): warning: host annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(114): warning: device annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(103): warning: host annotation is ignored on a function("Reshaped") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(103): warning: device annotation is ignored on a function("Reshaped") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(137): warning: host annotation is ignored on a function("ReshapedImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(137): warning: device annotation is ignored on a function("ReshapedImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(155): warning: host annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(155): warning: device annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(215): warning: host annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(215): warning: device annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(66): warning: host annotation is ignored on a function("Transpose") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(66): warning: device annotation is ignored on a function("Transpose") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(126): warning: host annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(126): warning: device annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: host annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: device annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: host annotation is ignored on a function("~TransposeImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: device annotation is ignored on a function("~TransposeImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Diagonal.h(78): warning: host annotation is ignored on a function("Diagonal") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Diagonal.h(78): warning: device annotation is ignored on a function("Diagonal") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(222): warning: host annotation is ignored on a function("TriangularView") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(222): warning: device annotation is ignored on a function("TriangularView") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(559): warning: host annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(559): warning: device annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: host annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: device annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: host annotation is ignored on a function("~TriangularViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: device annotation is ignored on a function("~TriangularViewImpl") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reverse.h(90): warning: host annotation is ignored on a function("Reverse") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reverse.h(90): warning: device annotation is ignored on a function("Reverse") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(47): warning: host annotation is ignored on a function("ArrayWrapper") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(47): warning: device annotation is ignored on a function("ArrayWrapper") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(145): warning: host annotation is ignored on a function("MatrixWrapper") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(145): warning: device annotation is ignored on a function("MatrixWrapper") that is explicitly defaulted on its first declaration

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(154): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(159): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(267): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(272): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(57): warning: calling a constexpr host function("min") from a host device function("truncate_to_bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(59): warning: calling a constexpr host function("signbit") from a host device function("truncate_to_bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(59): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(80): warning: calling a constexpr host function("real") from a host device function("bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(80): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(83): warning: calling a constexpr host function("real") from a host device function("bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(83): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(172): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/lib/bfloat16/bfloat16.h(176): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/playpen2/zhangyb/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow/include/tensorflow/core/platform/env.h(368): warning: overloaded virtual function "tensorflow::Env::RegisterFileSystem" is only partially overridden in class "tensorflow::EnvWrapper"

utils.cu(104): error: member function declared with "override" does not override a base class member

utils.cu(106): error: member function declared with "override" does not override a base class member

utils.cu(104): warning: function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes()" is hidden by "CublasScratchAllocator::GetMemoryLimitInBytes" -- virtual function override intended?

utils.cu(106): warning: function "stream_executor::ScratchAllocator::AllocateBytes(tensorflow::int64)" is hidden by "CublasScratchAllocator::AllocateBytes" -- virtual function override intended?

utils.cu(330): error: object of abstract class type "CublasScratchAllocator" is not allowed: pure virtual function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes" has no overrider pure virtual function "stream_executor::ScratchAllocator::AllocateBytes" has no overrider

utils.cu(624): error: object of abstract class type "CublasScratchAllocator" is not allowed: pure virtual function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes" has no overrider pure virtual function "stream_executor::ScratchAllocator::AllocateBytes" has no overrider

4 errors detected in the compilation of "/tmp/tmpxft_00007229_00000000-6_utils.cpp1.ii".