Open3D (C++ API)  0.19.0
Loading...
Searching...
No Matches
SVD.h
Go to the documentation of this file.
1// ----------------------------------------------------------------------------
2// - Open3D: www.open3d.org -
3// ----------------------------------------------------------------------------
4// Copyright (c) 2018-2024 www.open3d.org
5// SPDX-License-Identifier: MIT
6// ----------------------------------------------------------------------------
7
8#pragma once
9
10#include "open3d/core/Tensor.h"
11
12namespace open3d {
13namespace core {
14
17void SVD(const Tensor& A, Tensor& U, Tensor& S, Tensor& VT);
18
19#ifdef BUILD_SYCL_MODULE
20void SVDSYCL(const void* A_data,
21 void* U_data,
22 void* S_data,
23 void* VT_data,
24 int64_t m,
25 int64_t n,
26 Dtype dtype,
27 const Device& device);
28#endif
29
30#ifdef BUILD_CUDA_MODULE
31void SVDCUDA(const void* A_data,
32 void* U_data,
33 void* S_data,
34 void* VT_data,
35 void* superb_data,
36 int64_t m,
37 int64_t n,
38 Dtype dtype,
39 const Device& device);
40#endif
41
42void SVDCPU(const void* A_data,
43 void* U_data,
44 void* S_data,
45 void* VT_data,
46 void* superb_data,
47 int64_t m,
48 int64_t n,
49 Dtype dtype,
50 const Device& device);
51
52} // namespace core
53} // namespace open3d
void SVDCPU(const void *A_data, void *U_data, void *S_data, void *VT_data, void *superb_data, int64_t m, int64_t n, Dtype dtype, const Device &device)
Definition SVDCPU.cpp:15
void SVDCUDA(const void *A_data, void *U_data, void *S_data, void *VT_data, void *superb_data, int64_t m, int64_t n, Dtype dtype, const Device &device)
Definition SVDCUDA.cpp:16
void SVD(const Tensor &A, Tensor &U, Tensor &S, Tensor &VT)
Definition SVD.cpp:17
void SVDSYCL(const void *A_data, void *U_data, void *S_data, void *VT_data, int64_t m, int64_t n, Dtype dtype, const Device &device)
Definition SVDSYCL.cpp:19
Definition PinholeCameraIntrinsic.cpp:16