1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
10 namespace cloudViewer {
14 __global__ void TrilinearDevoxelizeKernel(int b,
21 const float *__restrict__ coords,
22 const float *__restrict__ feat,
23 int *__restrict__ inds,
24 float *__restrict__ wgts,
25 float *__restrict__ outs);
27 __global__ void TrilinearDevoxelizeGradKernel(int b,
31 const int *__restrict__ inds,
32 const float *__restrict__ wgts,
33 const float *__restrict__ grad_y,
34 float *__restrict__ grad_x);
36 } // namespace contrib
38 } // namespace cloudViewer