Open3D (C++ API)  0.18.0+252c867
IndexReduction.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - Open3D: www.open3d.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2023 www.open3d.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include "open3d/core/Tensor.h"
11 #include "open3d/utility/Logging.h"
12 
13 namespace open3d {
14 namespace core {
15 namespace kernel {
16 
17 void IndexAdd_(int64_t dim,
18  const Tensor& index,
19  const Tensor& src,
20  Tensor& dst);
21 
22 void IndexAddCPU_(int64_t dim,
23  const Tensor& index,
24  const Tensor& src,
25  Tensor& dst);
26 
27 #ifdef BUILD_CUDA_MODULE
28 void IndexAddCUDA_(int64_t dim,
29  const Tensor& index,
30  const Tensor& src,
31  Tensor& dst);
32 #endif
33 
34 } // namespace kernel
35 } // namespace core
36 } // namespace open3d
void IndexAdd_(int64_t dim, const Tensor &index, const Tensor &src, Tensor &dst)
Definition: IndexReduction.cpp:16
void IndexAddCPU_(int64_t dim, const Tensor &index, const Tensor &src, Tensor &dst)
Definition: IndexReductionCPU.cpp:65
Definition: PinholeCameraIntrinsic.cpp:16