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

psroi_pooling_op_gpu.cu.cc not compiling #49

Open
Shafaq-S opened this issue May 29, 2020 · 3 comments
Open

psroi_pooling_op_gpu.cu.cc not compiling #49

Shafaq-S opened this issue May 29, 2020 · 3 comments

Comments

@Shafaq-S
Copy link

System Specifications

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
TensorFlow version (use command below): tensorflow-gpu version 2.2
Python version: 3.6
Bazel version (if compiling from source): NA
GCC/Compiler version (if compiling from source): 8.4
CUDA/cuDNN version: 10.1
GPU model and memory: Tesla P100 (Google Colab)

Problem Description
I am trying to reproduce the results on Google Colab. However, I run into a host of warnings and a compilation error given below when I run make.sh file. I would really like to know how I can properly build the project!

Source code / logs

2020-05-29 13:49:51.008789: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1
/usr/local/lib/python3.6/dist-packages/tensorflow/include
/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1415): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1417): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1415): 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.

/usr/local/lib/python3.6/dist-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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1417): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1418): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1423): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1424): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1425): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1423): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1424): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1425): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1426): 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.

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: host annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: device annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(143): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(148): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(256): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(261): 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.

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: host annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: device annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1415): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1417): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1415): 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.

/usr/local/lib/python3.6/dist-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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1417): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1418): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1423): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1424): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1425): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1423): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1424): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1425): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1426): 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.

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: host annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: device annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(143): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(148): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(256): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(261): 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.

cuda_kernel_helper.h(49): error: class "Eigen::GpuDevice" has no member "getNumCudaMultiProcessors"

cuda_kernel_helper.h(49): error: class "Eigen::GpuDevice" has no member "maxCudaThreadsPerMultiProcessor"

cuda_kernel_helper.h(48): error: no instance of overloaded function "std::min" matches the argument list
argument types are: (, const int)

cuda_kernel_helper.h(51): error: class "Eigen::GpuDevice" has no member "maxCudaThreadsPerBlock"

cuda_kernel_helper.h(51): error: no instance of overloaded function "std::min" matches the argument list
argument types are: (int, )

cuda_kernel_helper.h(54): error: class "Eigen::GpuDevice" has no member "getNumCudaMultiProcessors"

cuda_kernel_helper.h(81): error: class "Eigen::GpuDevice" has no member "getNumCudaMultiProcessors"

cuda_kernel_helper.h(81): error: class "Eigen::GpuDevice" has no member "maxCudaThreadsPerMultiProcessor"

cuda_kernel_helper.h(83): error: no instance of overloaded function "std::max" matches the argument list
argument types are: (, int)

cuda_kernel_helper.h(90): error: no instance of overloaded function "std::min" matches the argument list
argument types are: (, const int)

10 errors detected in the compilation of "/tmp/tmpxft_000002c2_00000000-6_psroi_pooling_op_gpu.cu.cpp1.ii".
g++: error: psroi_pooling_op.cu.o: No such file or directory
make: 'LidarTopPreprocess.so' is up to date.

@Laihu08
Copy link

Laihu08 commented Mar 31, 2021

System Specifications

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
TensorFlow version (use command below): tensorflow-gpu version 2.2
Python version: 3.6
Bazel version (if compiling from source): NA
GCC/Compiler version (if compiling from source): 8.4
CUDA/cuDNN version: 10.1
GPU model and memory: Tesla P100 (Google Colab)

Problem Description
I am trying to reproduce the results on Google Colab. However, I run into a host of warnings and a compilation error given below when I run make.sh file. I would really like to know how I can properly build the project!

Source code / logs

2020-05-29 13:49:51.008789: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1
/usr/local/lib/python3.6/dist-packages/tensorflow/include
/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1415): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1417): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1415): 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.

/usr/local/lib/python3.6/dist-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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1417): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1418): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1423): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1424): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1425): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1423): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1424): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1425): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1426): 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.

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: host annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: device annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(143): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(148): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(256): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(261): 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.

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: host annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: device annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1386): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1391): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1415): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1417): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1415): 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.

/usr/local/lib/python3.6/dist-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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1417): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1418): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1423): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1424): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1425): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1423): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1424): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1425): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1426): 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.

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: host annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: device annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-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

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(143): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(148): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(256): 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.

/usr/local/lib/python3.6/dist-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(261): 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.

cuda_kernel_helper.h(49): error: class "Eigen::GpuDevice" has no member "getNumCudaMultiProcessors"

cuda_kernel_helper.h(49): error: class "Eigen::GpuDevice" has no member "maxCudaThreadsPerMultiProcessor"

cuda_kernel_helper.h(48): error: no instance of overloaded function "std::min" matches the argument list
argument types are: (, const int)

cuda_kernel_helper.h(51): error: class "Eigen::GpuDevice" has no member "maxCudaThreadsPerBlock"

cuda_kernel_helper.h(51): error: no instance of overloaded function "std::min" matches the argument list
argument types are: (int, )

cuda_kernel_helper.h(54): error: class "Eigen::GpuDevice" has no member "getNumCudaMultiProcessors"

cuda_kernel_helper.h(81): error: class "Eigen::GpuDevice" has no member "getNumCudaMultiProcessors"

cuda_kernel_helper.h(81): error: class "Eigen::GpuDevice" has no member "maxCudaThreadsPerMultiProcessor"

cuda_kernel_helper.h(83): error: no instance of overloaded function "std::max" matches the argument list
argument types are: (, int)

cuda_kernel_helper.h(90): error: no instance of overloaded function "std::min" matches the argument list
argument types are: (, const int)

10 errors detected in the compilation of "/tmp/tmpxft_000002c2_00000000-6_psroi_pooling_op_gpu.cu.cpp1.ii".
g++: error: psroi_pooling_op.cu.o: No such file or directory
make: 'LidarTopPreprocess.so' is up to date.

hi, I am also facing the same problem, did you fix this! I am looking for your answer. Thanks.

@kellen5l
Copy link

environment : RTX3060 Cuda11.0 Python 3.7.4
in net/lib/make.sh: try to set both GOOGLE_CUDA=1 to GOOGLE_CUDA=0 , be aware of CUDA_PATH and -arch parameter
in net/lib/setup.py: try to add -DNDEBUG parameter in extra_compile_args, at about 133 line
attach my revised file :
make.sh :

#!/usr/bin/env bash
TF_INC=$(python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())')
echo $TF_INC

CUDA_PATH=/usr/local/cuda-11.0/

cd roi_pooling_layer
nvcc -std=c++11 -c -o roi_pooling_op.cu.o roi_pooling_op_gpu.cu.cc -I $TF_INC -D GOOGLE_CUDA=0 -x cu -Xcompiler -fPIC -arch=sm_80
# for gcc5-built tf
g++ -std=c++11 -shared -D_GLIBCXX_USE_CXX11_ABI=1 -o roi_pooling.so roi_pooling_op.cc roi_pooling_op.cu.o -I $TF_INC -fPIC -lcudart -L $CUDA_PATH/lib64

cd ..
# add building psroi_pooling layer
cd psroi_pooling_layer
nvcc -std=c++11 -c -o psroi_pooling_op.cu.o psroi_pooling_op_gpu.cu.cc -I $TF_INC -D GOOGLE_CUDA=0 -x cu -Xcompiler -fPIC -arch=sm_80 
g++ -std=c++11 -shared -o psroi_pooling.so psroi_pooling_op.cc psroi_pooling_op.cu.o -I $TF_INC -fPIC -lcudart -L $CUDA_PATH/lib64

cd ..

setup.py :

...
extra_compile_args={'gcc': ["-Wno-unused-function"],
                    'nvcc': ['-arch=sm_80',
                             '-DNDEBUG', # add
                             '--ptxas-options=-v',
                             '-c',
                             '--compiler-options',
                             "'-fPIC'"]},
...

@YuanxianH
Copy link

environment : RTX3060 Cuda11.0 Python 3.7.4 in net/lib/make.sh: try to set both GOOGLE_CUDA=1 to GOOGLE_CUDA=0 , be aware of CUDA_PATH and -arch parameter in net/lib/setup.py: try to add -DNDEBUG parameter in extra_compile_args, at about 133 line attach my revised file : make.sh :

#!/usr/bin/env bash
TF_INC=$(python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())')
echo $TF_INC

CUDA_PATH=/usr/local/cuda-11.0/

cd roi_pooling_layer
nvcc -std=c++11 -c -o roi_pooling_op.cu.o roi_pooling_op_gpu.cu.cc -I $TF_INC -D GOOGLE_CUDA=0 -x cu -Xcompiler -fPIC -arch=sm_80
# for gcc5-built tf
g++ -std=c++11 -shared -D_GLIBCXX_USE_CXX11_ABI=1 -o roi_pooling.so roi_pooling_op.cc roi_pooling_op.cu.o -I $TF_INC -fPIC -lcudart -L $CUDA_PATH/lib64

cd ..
# add building psroi_pooling layer
cd psroi_pooling_layer
nvcc -std=c++11 -c -o psroi_pooling_op.cu.o psroi_pooling_op_gpu.cu.cc -I $TF_INC -D GOOGLE_CUDA=0 -x cu -Xcompiler -fPIC -arch=sm_80 
g++ -std=c++11 -shared -o psroi_pooling.so psroi_pooling_op.cc psroi_pooling_op.cu.o -I $TF_INC -fPIC -lcudart -L $CUDA_PATH/lib64

cd ..

setup.py :

...
extra_compile_args={'gcc': ["-Wno-unused-function"],
                    'nvcc': ['-arch=sm_80',
                             '-DNDEBUG', # add
                             '--ptxas-options=-v',
                             '-c',
                             '--compiler-options',
                             "'-fPIC'"]},
...

It does work! Thanks a lot.

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

4 participants