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

How to compile pointnet2-cuda on Linux? #22

Open
whuhxb opened this issue Sep 12, 2021 · 0 comments
Open

How to compile pointnet2-cuda on Linux? #22

whuhxb opened this issue Sep 12, 2021 · 0 comments

Comments

@whuhxb
Copy link

whuhxb commented Sep 12, 2021

Hi Authors:
My environment is ubuntu18.04, cuda 10.1, pytorch=1.7.0(I have checked the pytorch and cuda versions), how to compile the pointnet2-cuda version? Can this environment be compiled with pytorch=1.2.0? Thanks a lot.

How to solve this problem?

running install
running bdist_egg
running egg_info
creating pointnet2.egg-info
writing pointnet2.egg-info/PKG-INFO
writing dependency_links to pointnet2.egg-info/dependency_links.txt
writing top-level names to pointnet2.egg-info/top_level.txt
writing manifest file 'pointnet2.egg-info/SOURCES.txt'
reading manifest file 'pointnet2.egg-info/SOURCES.txt'
writing manifest file 'pointnet2.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'pointnet2_cuda' extension
creating /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build
creating /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6
creating /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src
Emitting ninja build file /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/9] c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/sampling.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/sampling.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/sampling.o
c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/sampling.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/sampling.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THCTensor.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THC.h:13,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:4:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp: In function ‘int gather_points_wrapper_fast(int, int, int, int, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:13:53: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float points = points_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:14:43: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:15:41: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float out = out_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:17:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp: In function ‘int gather_points_grad_wrapper_fast(int, int, int, int, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:26:57: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float grad_out = grad_out_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:27:43: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:28:57: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float grad_points = grad_points_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:30:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp: In function ‘int furthest_point_sampling_wrapper(int, int, int, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:39:53: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float points = points_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:40:43: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float temp = temp_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:41:37: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling.cpp:43:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
[2/9] c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/group_points.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/group_points.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/group_points.o
c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/group_points.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/group_points.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THCTensor.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THC.h:13,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:5:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp: In function ‘int group_points_grad_wrapper_fast(int, int, int, int, int, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:14:57: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float grad_points = grad_points_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:15:43: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:16:57: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float grad_out = grad_out_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:18:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp: In function ‘int group_points_wrapper_fast(int, int, int, int, int, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:28:53: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float points = points_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:29:43: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:30:41: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float out = out_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points.cpp:32:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
[3/9] c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/ball_query.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/ball_query.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/ball_query.o
c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/ball_query.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/ball_query.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THCTensor.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THC.h:13,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:3:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp: In function ‘int ball_query_wrapper_fast(int, int, int, float, int, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:10:39: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
#define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x);CHECK_CONTIGUOUS(x)
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:16:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(new_xyz_tensor);
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:10:80: error: ‘AT_CHECK’ was not declared in this scope
#define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x);CHECK_CONTIGUOUS(x)
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:16:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(new_xyz_tensor);
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:10:39: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
#define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:12:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x);CHECK_CONTIGUOUS(x)
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:17:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(xyz_tensor);
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:18:55: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float new_xyz = new_xyz_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:19:47: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float xyz = xyz_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:20:37: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query.cpp:22:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
[4/9] c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/interpolate.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/interpolate.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/interpolate.o
c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/interpolate.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/interpolate.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THCTensor.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC/THC.h:13,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:3:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp: In function ‘void three_nn_wrapper_fast(int, int, int, at::Tensor, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:16:55: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float unknown = unknown_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:17:51: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float known = known_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:18:45: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float dist2 = dist2_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:19:37: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:21:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp: In function ‘void three_interpolate_wrapper_fast(int, int, int, int, at::Tensor, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:32:53: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float points = points_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:33:53: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float weight = weight_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:34:41: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float out = out_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:35:43: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const int idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:37:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp: In function ‘void three_interpolate_grad_wrapper_fast(int, int, int, int, at::Tensor, at::Tensor, at::Tensor, at::Tensor)’:
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:47:57: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float grad_out = grad_out_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:48:53: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const float weight = weight_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:49:57: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
float grad_points = grad_points_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:50:43: warning: ‘T
at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
const int *idx = idx_tensor.data();
^
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/input-archive.h:6,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/archive.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/serialize/tensor.h:3,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:1:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^
/export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate.cpp:52:58: error: ‘THCState_getCurrentStream’ was not declared in this scope
cudaStream_t stream = THCState_getCurrentStream(state);
^
[5/9] /cm/shared/apps/cuda10.1/toolkit/10.1.243/bin/nvcc -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/group_points_gpu.cu -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/group_points_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O2 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -std=c++14
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

[6/9] /cm/shared/apps/cuda10.1/toolkit/10.1.243/bin/nvcc -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/interpolate_gpu.cu -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/interpolate_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O2 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -std=c++14
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

[7/9] /cm/shared/apps/cuda10.1/toolkit/10.1.243/bin/nvcc -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/sampling_gpu.cu -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/sampling_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O2 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -std=c++14
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

[8/9] /cm/shared/apps/cuda10.1/toolkit/10.1.243/bin/nvcc -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/ball_query_gpu.cu -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/ball_query_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O2 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -std=c++14
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

[9/9] c++ -MMD -MF /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/pointnet2_api.o.d -pthread -B /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/TH -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/THC -I/cm/shared/apps/cuda10.1/toolkit/10.1.243/include -I/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/include/python3.6m -c -c /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/pointnet2_api.cpp -o /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/build/temp.linux-x86_64-3.6/src/pointnet2_api.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=pointnet2_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /export/home/hanxiaobing/Documents/PlaneNet_PlaneRCNN/DGCNN_PointNet2/comparison_algorithms/FPConv_experiments/FPConv/fpconv/pointnet2/src/pointnet2_api.cpp:2:
/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1522, in _run_ninja_build
env=env)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "setup.py", line 22, in
cmdclass={'build_ext': BuildExtension}
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 150, in call_command
self.run_command(cmdname)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/command/install_lib.py", line 107, in build
self.run_command('build_ext')
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 653, in build_extensions
build_ext.build_extensions(self)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
depends=ext.depends)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 482, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1238, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/export/home/hanxiaobing/anaconda3/envs/pytorch-FPConv/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1538, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension

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

1 participant