ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Kernel.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 #pragma once
9 
15 
16 namespace cloudViewer {
17 namespace core {
18 namespace kernel {
19 
21 
22 } // namespace kernel
23 } // namespace core
24 } // namespace cloudViewer
cloudViewer
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
cloudViewer::core::Tensor::GetDtype
Dtype GetDtype() const
Definition: Tensor.h:1164
Indexer.h
Kernel.h
cloudViewer::core::Tensor::GetShape
SizeVector GetShape() const
Definition: Tensor.h:1127
cloudViewer::core::DtypePolicy::NONE
@ NONE
cloudViewer::core::Tensor
Definition: Tensor.h:32
SYCLContext.h
SYCL queue manager.
cloudViewer::core::kernel::IndexAddCPU_
void IndexAddCPU_(int64_t dim, const Tensor &index, const Tensor &src, Tensor &dst)
Definition: IndexReductionCPU.cpp:66
cloudViewer::core::Tensor::NumDims
int64_t NumDims() const
Definition: Tensor.h:1172
UnaryEW.h
Dispatch.h
cloudViewer::core::Device
Definition: Device.h:18
core
a
a[190]
Definition: essential_matrix_poly.h:19
cloudViewer::core::Tensor::GetDevice
Device GetDevice() const override
Definition: Tensor.cpp:1435
indexer
Indexer indexer
Definition: BinaryEWSYCL.cpp:30
cloudViewer::core::sy::SYCLContext::GetInstance
static SYCLContext & GetInstance()
Get singleton instance.
Definition: SYCLContext.cpp:25
cloudViewer::core::kernel::IndexAddSYCL_
void IndexAddSYCL_(int64_t dim, const Tensor &index, const Tensor &src, Tensor &dst)
Definition: IndexReductionSYCL.cpp:19
IndexGetSet.h
LogInfo
#define LogInfo(...)
Definition: Logging.h:81
cloudViewer::core::kernel::CPUSumKernel
static CLOUDVIEWER_HOST_DEVICE void CPUSumKernel(const void *src, void *dst)
Definition: IndexReductionCPU.cpp:60
Tensor.h
DISPATCH_FLOAT_DTYPE_TO_TEMPLATE
#define DISPATCH_FLOAT_DTYPE_TO_TEMPLATE(DTYPE,...)
Definition: Dispatch.h:78
LinalgHeadersCPU.h
CLOUDVIEWER_HOST_DEVICE
#define CLOUDVIEWER_HOST_DEVICE
Definition: CUDAUtils.h:44
BinaryEW.h
cloudViewer::core::kernel::LaunchIndexReductionKernel
void LaunchIndexReductionKernel(int64_t dim, const Device &device, const Tensor &index, const Tensor &src, Tensor &dst, const func_t &element_kernel)
Definition: IndexReductionCPU.cpp:19
cloudViewer::core::sy::SYCLContext::GetDefaultQueue
sycl::queue GetDefaultQueue(const Device &device)
Get the default SYCL queue given an CloudViewer device.
Definition: SYCLContext.cpp:43
Reduction.h
cloudViewer::core::Indexer
Definition: Indexer.h:262
NonZero.h
cloudViewer::core::kernel::TestLinalgIntegration
void TestLinalgIntegration()
Definition: Kernel.cpp:21
cloudViewer::core::Tensor::GetDataPtr
T * GetDataPtr()
Definition: Tensor.h:1144