(PyTorch) RuntimeError: Error compiling objects for extension

First of all, thank you for releasing the code.
Could you please help me
When I install custom operations I get the following error
running install
running bdist_egg
running egg_info
writing pt_custom_ops.egg-info/PKG-INFO
writing dependency_links to pt_custom_ops.egg-info/dependency_links.txt
writing top-level names to pt_custom_ops.egg-info/top_level.txt
reading manifest file 'pt_custom_ops.egg-info/SOURCES.txt'
writing manifest file 'pt_custom_ops.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'pt_custom_ops._ext' extension
Emitting ninja build file /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/8] c++ -MMD -MF /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/masked_grid_subsampling.o.d -pthread -B /home/user/miniconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/user/miniconda/lib/python3.8/site-packages/torch/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/TH -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/user/miniconda/include/python3.8 -c -c /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp -o /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/masked_grid_subsampling.o -O2 -I/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/masked_grid_subsampling.o
c++ -MMD -MF /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/masked_grid_subsampling.o.d -pthread -B /home/user/miniconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/user/miniconda/lib/python3.8/site-packages/torch/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/TH -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/user/miniconda/include/python3.8 -c -c /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp -o /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/masked_grid_subsampling.o -O2 -I/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -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 /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_grid_subsampling.h:2,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:1:
/home/user/miniconda/lib/python3.8/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)

In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:2:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp: In function ‘std::vector<at::Tensor> masked_grid_subsampling(at::Tensor, at::Tensor, int, float)’:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: in definition of macro ‘CHECK_IS_INT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: in definition of macro ‘CHECK_IS_INT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:37:19: 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]
   if (points.type().is_cuda()) {
                   ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_grid_subsampling.h:2,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:39:80: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
         points.size(0), points.size(1), nsamples, sampleDl, points.data<float>(), mask.data<int>(), output.data<float>(), output_mask.data<int>(), mapidx.data<int>(), tempidx.data<int>(), temp_subxyz.data<float>());
                                                                                ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_grid_subsampling.h:2,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:39:98: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
         points.size(0), points.size(1), nsamples, sampleDl, points.data<float>(), mask.data<int>(), output.data<float>(), output_mask.data<int>(), mapidx.data<int>(), tempidx.data<int>(), temp_subxyz.data<float>());
                                                                                ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_grid_subsampling.h:2,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:39:120: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
         points.size(0), points.size(1), nsamples, sampleDl, points.data<float>(), mask.data<int>(), output.data<float>(), output_mask.data<int>(), mapidx.data<int>(), tempidx.data<int>(), temp_subxyz.data<float>());
                                                                                ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_grid_subsampling.h:2,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:39:145: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
         points.size(0), points.size(1), nsamples, sampleDl, points.data<float>(), mask.data<int>(), output.data<float>(), output_mask.data<int>(), mapidx.data<int>(), tempidx.data<int>(), temp_subxyz.data<float>());
                                                                                ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_grid_subsampling.h:2,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:39:165: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
         points.size(0), points.size(1), nsamples, sampleDl, points.data<float>(), mask.data<int>(), output.data<float>(), output_mask.data<int>(), mapidx.data<int>(), tempidx.data<int>(), temp_subxyz.data<float>());
                                                                                ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_grid_subsampling.h:2,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:39:186: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
         points.size(0), points.size(1), nsamples, sampleDl, points.data<float>(), mask.data<int>(), output.data<float>(), output_mask.data<int>(), mapidx.data<int>(), tempidx.data<int>(), temp_subxyz.data<float>());
                                                                                ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_grid_subsampling.h:2,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:39:213: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
         points.size(0), points.size(1), nsamples, sampleDl, points.data<float>(), mask.data<int>(), output.data<float>(), output_mask.data<int>(), mapidx.data<int>(), tempidx.data<int>(), temp_subxyz.data<float>());
                                                                                ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_grid_subsampling.h:2,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:41:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(false, "CPU not supported");
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_grid_subsampling.cpp:41:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(false, "CPU not supported");
     ^~~~~~~~
     DCHECK
[2/8] c++ -MMD -MF /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/group_points.o.d -pthread -B /home/user/miniconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/user/miniconda/lib/python3.8/site-packages/torch/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/TH -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/user/miniconda/include/python3.8 -c -c /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp -o /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/group_points.o -O2 -I/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/group_points.o
c++ -MMD -MF /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/group_points.o.d -pthread -B /home/user/miniconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/user/miniconda/lib/python3.8/site-packages/torch/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/TH -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/user/miniconda/include/python3.8 -c -c /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp -o /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/group_points.o -O2 -I/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -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 /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/group_points.h:7,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:6:
/home/user/miniconda/lib/python3.8/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)

In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:7:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp: In function ‘at::Tensor group_points(at::Tensor, at::Tensor)’:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: in definition of macro ‘CHECK_IS_INT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: in definition of macro ‘CHECK_IS_INT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:23:19: 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]
   if (points.type().is_cuda()) {
                   ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/group_points.h:7,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:6:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:7:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:21: 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]
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
                     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:24:5: note: in expansion of macro ‘CHECK_CUDA’
     CHECK_CUDA(idx);
     ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/group_points.h:7,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:6:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:7:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: in definition of macro ‘CHECK_CUDA’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: in definition of macro ‘CHECK_CUDA’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:31:19: 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]
   if (points.type().is_cuda()) {
                   ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/group_points.h:7,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:6:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:33:78: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
                                 idx.size(1), idx.size(2), points.data<float>(),
                                                                              ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/group_points.h:7,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:6:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:34:47: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
                                 idx.data<int>(), output.data<float>());
                                               ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/group_points.h:7,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:6:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:34:69: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
                                 idx.data<int>(), output.data<float>());
                                                                     ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/group_points.h:7,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:6:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:36:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(false, "CPU not supported");
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:36:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(false, "CPU not supported");
     ^~~~~~~~
     DCHECK
In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:7:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp: In function ‘at::Tensor group_points_grad(at::Tensor, at::Tensor, int)’:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: in definition of macro ‘CHECK_IS_INT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: in definition of macro ‘CHECK_IS_INT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:48:21: 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]
   if (grad_out.type().is_cuda()) {
                     ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/group_points.h:7,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:6:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:7:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:21: 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]
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
                     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:49:5: note: in expansion of macro ‘CHECK_CUDA’
     CHECK_CUDA(idx);
     ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/group_points.h:7,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:6:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:7:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: in definition of macro ‘CHECK_CUDA’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: in definition of macro ‘CHECK_CUDA’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:56:21: 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]
   if (grad_out.type().is_cuda()) {
                     ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/group_points.h:7,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:6:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:59:30: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
         grad_out.data<float>(), idx.data<int>(), output.data<float>());
                              ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/group_points.h:7,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:6:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:59:47: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
         grad_out.data<float>(), idx.data<int>(), output.data<float>());
                                               ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/group_points.h:7,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:6:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:59:69: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
         grad_out.data<float>(), idx.data<int>(), output.data<float>());
                                                                     ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/group_points.h:7,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:6:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:61:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(false, "CPU not supported");
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/group_points.cpp:61:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(false, "CPU not supported");
     ^~~~~~~~
     DCHECK
[3/8] c++ -MMD -MF /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/masked_nearest_query.o.d -pthread -B /home/user/miniconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/user/miniconda/lib/python3.8/site-packages/torch/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/TH -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/user/miniconda/include/python3.8 -c -c /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp -o /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/masked_nearest_query.o -O2 -I/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/masked_nearest_query.o
c++ -MMD -MF /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/masked_nearest_query.o.d -pthread -B /home/user/miniconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/user/miniconda/lib/python3.8/site-packages/torch/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/TH -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/user/miniconda/include/python3.8 -c -c /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp -o /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/masked_nearest_query.o -O2 -I/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -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 /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_nearest_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:1:
/home/user/miniconda/lib/python3.8/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)

In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:2:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp: In function ‘std::vector<at::Tensor> masked_nearest_query(at::Tensor, at::Tensor, at::Tensor, at::Tensor)’:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: in definition of macro ‘CHECK_IS_INT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: in definition of macro ‘CHECK_IS_INT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: in definition of macro ‘CHECK_IS_INT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: in definition of macro ‘CHECK_IS_INT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:23:22: 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]
   if (query_xyz.type().is_cuda()) {
                      ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_nearest_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:2:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:21: 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]
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
                     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:24:5: note: in expansion of macro ‘CHECK_CUDA’
     CHECK_CUDA(support_xyz);
     ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_nearest_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:2:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: in definition of macro ‘CHECK_CUDA’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: in definition of macro ‘CHECK_CUDA’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:21: 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]
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
                     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:25:5: note: in expansion of macro ‘CHECK_CUDA’
     CHECK_CUDA(query_mask);
     ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_nearest_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:2:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: in definition of macro ‘CHECK_CUDA’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: in definition of macro ‘CHECK_CUDA’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:21: 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]
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
                     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:26:5: note: in expansion of macro ‘CHECK_CUDA’
     CHECK_CUDA(support_mask);
     ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_nearest_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:2:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: in definition of macro ‘CHECK_CUDA’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: in definition of macro ‘CHECK_CUDA’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:37:22: 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]
   if (query_xyz.type().is_cuda()) {
                      ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_nearest_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:39:63: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
                                         query_xyz.data<float>(),support_xyz.data<float>(),
                                                               ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_nearest_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:39:89: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
                                         query_xyz.data<float>(),support_xyz.data<float>(),
                                                                                ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_nearest_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:40:62: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
                                         query_mask.data<int>(), support_mask.data<int>(),
                                                              ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_nearest_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:40:88: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
                                         query_mask.data<int>(), support_mask.data<int>(),
                                                                                ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_nearest_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:41:55: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
                                         idx.data<int>(), idx_mask.data<int>());
                                                       ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_nearest_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:41:77: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
                                         idx.data<int>(), idx_mask.data<int>());
                                                                             ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_nearest_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:354:7: note: declared here
   T * data() const {
       ^~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:43:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(false, "CPU not supported");
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_nearest_query.cpp:43:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(false, "CPU not supported");
     ^~~~~~~~
     DCHECK
[4/8] c++ -MMD -MF /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/masked_ordered_ball_query.o.d -pthread -B /home/user/miniconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/user/miniconda/lib/python3.8/site-packages/torch/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/TH -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/user/miniconda/include/python3.8 -c -c /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_ordered_ball_query.cpp -o /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/masked_ordered_ball_query.o -O2 -I/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/masked_ordered_ball_query.o
c++ -MMD -MF /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/masked_ordered_ball_query.o.d -pthread -B /home/user/miniconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/user/miniconda/lib/python3.8/site-packages/torch/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/TH -I/home/user/miniconda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/user/miniconda/include/python3.8 -c -c /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_ordered_ball_query.cpp -o /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/build/temp.linux-x86_64-3.8/_ext_src/src/masked_ordered_ball_query.o -O2 -I/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -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 /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_ordered_ball_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_ordered_ball_query.cpp:1:
/home/user/miniconda/lib/python3.8/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)

In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_ordered_ball_query.cpp:2:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_ordered_ball_query.cpp: In function ‘std::vector<at::Tensor> masked_ordered_ball_query(at::Tensor, at::Tensor, at::Tensor, at::Tensor, float, int)’:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
     AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Float, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: in definition of macro ‘CHECK_IS_INT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: in definition of macro ‘CHECK_IS_INT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: in definition of macro ‘CHECK_IS_INT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:22:5: note: in definition of macro ‘CHECK_IS_INT’
     AT_CHECK(x.scalar_type() == at::ScalarType::Int, \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_ordered_ball_query.cpp:25:22: 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]
   if (query_xyz.type().is_cuda()) {
                      ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_ordered_ball_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_ordered_ball_query.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_ordered_ball_query.cpp:2:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:21: 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]
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
                     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_ordered_ball_query.cpp:26:5: note: in expansion of macro ‘CHECK_CUDA’
     CHECK_CUDA(support_xyz);
     ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_ordered_ball_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_ordered_ball_query.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_ordered_ball_query.cpp:2:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: in definition of macro ‘CHECK_CUDA’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: suggested alternative: ‘DCHECK’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: in definition of macro ‘CHECK_CUDA’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:21: 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]
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
                     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_ordered_ball_query.cpp:27:5: note: in expansion of macro ‘CHECK_CUDA’
     CHECK_CUDA(query_mask);
     ^
In file included from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/ATen.h:5,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
                 from /home/user/miniconda/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/masked_ordered_ball_query.h:3,
                 from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_ordered_ball_query.cpp:1:
/home/user/miniconda/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:268:30: note: declared here
   DeprecatedTypeProperties & type() const {
                              ^~~~
In file included from /trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/src/masked_ordered_ball_query.cpp:2:0:
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: error: ‘AT_CHECK’ was not declared in this scope
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: in definition of macro ‘CHECK_CUDA’
     AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor"); \
     ^~~~~~~~
/trinity/home/r.rakhimov/sharp_features/ops/pt_custom_ops/_ext_src/include/utils.h:12:5: note: suggested alternative: ‘DCHECK’