ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Arange.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 Arange(const Tensor& start, const Tensor& stop, const Tensor& step);
17 
18 void ArangeCPU(const Tensor& start,
19  const Tensor& stop,
20  const Tensor& step,
21  Tensor& dst);
22 
23 #ifdef BUILD_SYCL_MODULE
24 void ArangeSYCL(const Tensor& start,
25  const Tensor& stop,
26  const Tensor& step,
27  Tensor& dst);
28 #endif
29 
30 #ifdef BUILD_CUDA_MODULE
31 void ArangeCUDA(const Tensor& start,
32  const Tensor& stop,
33  const Tensor& step,
34  Tensor& dst);
35 #endif
36 
37 } // namespace kernel
38 } // namespace core
39 } // namespace cloudViewer
void ArangeCPU(const Tensor &start, const Tensor &stop, const Tensor &step, Tensor &dst)
Definition: ArangeCPU.cpp:17
void ArangeSYCL(const Tensor &start, const Tensor &stop, const Tensor &step, Tensor &dst)
Definition: ArangeSYCL.cpp:17
Tensor Arange(const Tensor &start, const Tensor &stop, const Tensor &step)
Definition: Arange.cpp:17
Generic file read and write utility for python interface.