cheshirekow  v0.1.0
se3.cu.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012 Josh Bialkowski (jbialk@mit.edu)
3  *
4  * This file is part of mpblocks.
5  *
6  * mpblocks is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * mpblocks is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with mpblocks. If not, see <http://www.gnu.org/licenses/>.
18  */
27 #ifndef MPBLOCKS_CUDANN_KERNELS_SE3_CU_H_
28 #define MPBLOCKS_CUDANN_KERNELS_SE3_CU_H_
29 
30 #include <cuda.h>
31 #include <cuda_runtime.h>
33 
34 namespace mpblocks {
35 namespace cudaNN {
36 namespace kernels {
37 
38 
41 template< typename Format_t, unsigned int NDim>
43  Format_t weight,
44  QueryPoint<Format_t,NDim>
45  query,
46  Format_t* g_in,
47  unsigned int pitchIn,
48  Format_t* g_out,
49  unsigned int pitchOut,
50  unsigned int n
51  );
52 
53 
57 template< typename Format_t, unsigned int NDim>
59  Format_t weight,
60  QueryPoint<Format_t,NDim>
61  query,
62  Format_t* g_in,
63  unsigned int pitchIn,
64  Format_t* g_out,
65  unsigned int pitchOut,
66  unsigned int n
67  );
68 
69 
70 
71 } // kernels
72 } // cudaNN
73 } // mpblocks
74 
75 
76 
77 
78 #endif // KERNELS_H_
__global__ void se3_distance(Format_t weight, QueryPoint< Format_t, NDim > query, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
weighted distance between elements of se3, points are interpreted as 3 values of position and 4 value...
Definition: se3.cu.hpp:111
__global__ void se3_pseudo_distance(Format_t weight, QueryPoint< Format_t, NDim > query, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
weighted distance between elements of se3, points are interpreted as 3 values of position and 4 value...
Definition: se3.cu.hpp:42
#define __global__
Definition: fakecuda.h:33