radius_cpu.h 428 Bytes
Newer Older
Alexander Liao's avatar
Alexander Liao committed
1
2
3
4
5
6
#pragma once

#include <torch/extension.h>
#include "utils/neighbors.cpp"
#include <iostream>

7
torch::Tensor radius_cpu(torch::Tensor query, torch::Tensor support,
8
			 			 double radius, int64_t max_num, int64_t n_threads);
9
10
11
12
13

torch::Tensor batch_radius_cpu(torch::Tensor query,
			       torch::Tensor support,
			       torch::Tensor query_batch,
			       torch::Tensor support_batch,
14
			       double radius, int64_t max_num);