ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
NonZero.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
10
#include "
cloudViewer/core/Tensor.h
"
11
12
namespace
cloudViewer
{
13
namespace
core
{
14
namespace
kernel {
15
16
Tensor
NonZero
(
const
Tensor& src);
17
18
Tensor
NonZeroCPU
(
const
Tensor& src);
19
20
#ifdef BUILD_SYCL_MODULE
21
Tensor
NonZeroSYCL
(
const
Tensor& src);
22
#endif
23
24
#ifdef BUILD_CUDA_MODULE
25
Tensor NonZeroCUDA(
const
Tensor& src);
26
#endif
27
28
}
// namespace kernel
29
}
// namespace core
30
}
// namespace cloudViewer
cloudViewer
Generic file read and write utility for python interface.
Definition:
CloudViewerConfig.cpp:12
Device.h
cloudViewer::core::IsDevice::IsCUDA
bool IsCUDA() const
Definition:
Device.h:99
cloudViewer::core::Tensor
Definition:
Tensor.h:32
cloudViewer::core::kernel::NonZeroSYCL
Tensor NonZeroSYCL(const Tensor &src)
Definition:
NonZeroSYCL.cpp:22
cloudViewer::core::kernel::NonZero
Tensor NonZero(const Tensor &src)
Definition:
NonZero.cpp:19
core
LogError
#define LogError(...)
Definition:
Logging.h:60
cloudViewer::core::IsDevice::IsCPU
bool IsCPU() const
Definition:
Device.h:95
Tensor.h
cloudViewer::core::IsDevice::IsSYCL
bool IsSYCL() const
Definition:
Device.h:103
cloudViewer::core::kernel::NonZeroCPU
Tensor NonZeroCPU(const Tensor &src)
Definition:
NonZeroCPU.cpp:20
NonZero.h
libs
cloudViewer
core
kernel
NonZero.h
Generated on Wed Nov 18 2026 14:48:03 for ACloudViewer by
1.8.17