cheshirekow  v0.1.0
kernels.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_DUBINS_CURVES_CUDA2_KERNELS_CU_H_
28 #define MPBLOCKS_DUBINS_CURVES_CUDA2_KERNELS_CU_H_
29 
30 #include <cuda.h>
31 #include <cuda_runtime.h>
32 
33 namespace mpblocks {
34 namespace dubins {
35 namespace curves_cuda {
36 namespace kernels {
37 
38 
41 template< typename Format_t>
44  Format_t* g_in,
45  unsigned int pitchIn,
46  Format_t* g_out,
47  unsigned int pitchOut,
48  unsigned int n
49  );
50 
51 
54 template< typename Format_t >
57  Format_t* g_in,
58  unsigned int pitchIn,
59  Format_t* g_out,
60  unsigned int pitchOut,
61  unsigned int n
62  );
63 
64 
67 template< typename Format_t>
70  Format_t* g_in,
71  unsigned int pitchIn,
72  Format_t* g_out,
73  unsigned int pitchOut,
74  unsigned int n
75  );
76 
77 
80 template< typename Format_t >
83  Format_t* g_in,
84  unsigned int pitchIn,
85  Format_t* g_out,
86  unsigned int pitchOut,
87  unsigned int n
88  );
89 
90 
93 template< typename Format_t>
96  Format_t* g_in,
97  unsigned int pitchIn,
98  Format_t* g_out,
99  unsigned int pitchOut,
100  unsigned int n
101  );
102 
105 template< typename Format_t >
107  Params<Format_t> p,
108  Format_t* g_in,
109  unsigned int pitchIn,
110  Format_t* g_out,
111  unsigned int pitchOut,
112  unsigned int n
113  );
114 
115 
116 
117 
118 
119 
120 
123 template< typename Format_t>
126  Format_t* g_in,
127  unsigned int pitchIn,
128  Format_t* g_out,
129  unsigned int pitchOut,
130  unsigned int n
131  );
132 
133 
136 template< typename Format_t>
139  Format_t* g_in,
140  unsigned int pitchIn,
141  Format_t* g_out,
142  unsigned int pitchOut,
143  unsigned int n
144  );
145 
146 
147 } // kernels
148 } // curves
149 } // dubins
150 } // mpblocks
151 
152 
153 
154 
155 #endif // KERNELS_H_
#define __global__
Definition: fakecuda.h:33
__global__ void group_distance_to_set(EuclideanParams< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
batch-compute the euclidean distance from a single dubins state to a batch of many dubins states ...
Definition: kernels.cu.hpp:669
__global__ void distance_from_set(Params< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
batch-compute the distance from a batch of many dubins states to a single dubins state ...
Definition: kernels.cu.hpp:265
__global__ void distance_to_set_debug(Params< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
batch-compute the distance from a single dubins state to a batch of many dubins states ...
Definition: kernels.cu.hpp:489
__global__ void distance_from_set_debug(Params< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
batch-compute the distance from a batch of many dubins states to a single dubins state ...
Definition: kernels.cu.hpp:580
__global__ void group_distance_to_set_with_id(EuclideanParams< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
batch-compute the euclidean distance from a single dubins state to a batch of many dubins states ...
Definition: kernels.cu.hpp:734
__global__ void distance_to_set_with_id(Params< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
batch-compute the distance from a single dubins state to a batch of many dubins states ...
Definition: kernels.cu.hpp:337
__global__ void distance_to_set(Params< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
batch-compute the distance from a single dubins state to a batch of many dubins states ...
Definition: kernels.cu.hpp:193
__global__ void distance_from_set_with_id(Params< Format_t > p, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
batch-compute the distance from a batch of many dubins states to a single dubins state ...
Definition: kernels.cu.hpp:413