Open3D (C++ API)  0.17.0
TriImpl.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/core/linalg/Tri.h"
12 
13 namespace open3d {
14 namespace core {
15 
16 void TriuCPU(const Tensor& A, Tensor& output, const int diagonal = 0);
17 
18 void TrilCPU(const Tensor& A, Tensor& output, const int diagonal = 0);
19 
20 void TriulCPU(const Tensor& A,
21  Tensor& upper,
22  Tensor& lower,
23  const int diagonal = 0);
24 
25 #ifdef BUILD_CUDA_MODULE
26 void TriuCUDA(const Tensor& A, Tensor& output, const int diagonal = 0);
27 
28 void TrilCUDA(const Tensor& A, Tensor& output, const int diagonal = 0);
29 
30 void TriulCUDA(const Tensor& A,
31  Tensor& upper,
32  Tensor& lower,
33  const int diagonal = 0);
34 #endif
35 } // namespace core
36 } // namespace open3d
void TrilCPU(const Tensor &A, Tensor &output, const int diagonal)
Definition: TriCPU.cpp:34
void TriulCPU(const Tensor &A, Tensor &upper, Tensor &lower, const int diagonal)
Definition: TriCPU.cpp:51
void TriuCPU(const Tensor &A, Tensor &output, const int diagonal)
Definition: TriCPU.cpp:17
Definition: PinholeCameraIntrinsic.cpp:16