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 
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
Tensor NonZero(const Tensor &src)
Definition: NonZero.cpp:19
Tensor NonZeroCPU(const Tensor &src)
Definition: NonZeroCPU.cpp:20
Tensor NonZeroSYCL(const Tensor &src)
Definition: NonZeroSYCL.cpp:22
Generic file read and write utility for python interface.