ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
LUImpl.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 // Private header. Do not include in Open3d.h.
9 
10 #pragma once
11 
13 
14 namespace cloudViewer {
15 namespace core {
16 
17 void LUCPU(void* A_data,
18  void* ipiv_data,
19  int64_t rows,
20  int64_t cols,
21  Dtype dtype,
22  const Device& device);
23 
24 #ifdef BUILD_SYCL_MODULE
25 void LUSYCL(void* A_data,
26  void* ipiv_data,
27  int64_t rows,
28  int64_t cols,
29  Dtype dtype,
30  const Device& device);
31 #endif
32 
33 #ifdef BUILD_CUDA_MODULE
34 void LUCUDA(void* A_data,
35  void* ipiv_data,
36  int64_t rows,
37  int64_t cols,
38  Dtype dtype,
39  const Device& device);
40 #endif
41 } // namespace core
42 } // namespace cloudViewer
cloudViewer
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
cloudViewer::core::LUCPU
void LUCPU(void *A_data, void *ipiv_data, int64_t rows, int64_t cols, Dtype dtype, const Device &device)
Definition: LUCPU.cpp:15
cloudViewer::core::MemoryManager::Malloc
static void * Malloc(size_t byte_size, const Device &device)
Definition: MemoryManager.cpp:23
Runtime::GetInstance
ccGuiPythonInstance * GetInstance() noexcept
Definition: Runtime.cpp:72
LapackWrapper.h
cloudViewer::core::Dtype
Definition: Dtype.h:21
cloudViewer::core::OPEN3D_LAPACK_CHECK
void OPEN3D_LAPACK_CHECK(CLOUDVIEWER_CPU_LINALG_INT info, const std::string &msg)
Definition: LinalgUtils.h:36
cloudViewer::core::LUCUDA
void LUCUDA(void *A_data, void *ipiv_data, int64_t rows, int64_t cols, Dtype dtype, const Device &device)
Definition: LUCUDA.cpp:15
cloudViewer::core::Device
Definition: Device.h:18
LU.h
LUImpl.h
core
DISPATCH_LINALG_DTYPE_TO_TEMPLATE
#define DISPATCH_LINALG_DTYPE_TO_TEMPLATE(DTYPE,...)
Definition: LinalgUtils.h:23
cloudViewer::core::MemoryManager::Free
static void Free(void *ptr, const Device &device)
Frees previously allocated memory at address ptr on device device.
Definition: MemoryManager.cpp:29
LinalgUtils.h
CLOUDVIEWER_CPU_LINALG_INT
#define CLOUDVIEWER_CPU_LINALG_INT
Definition: LinalgHeadersCPU.h:23
cloudViewer::core::LUSYCL
void LUSYCL(void *A_data, void *ipiv_data, int64_t m, int64_t n, Dtype dtype, const Device &device)
Definition: LUSYCL.cpp:19