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_CUDA_CERT_KERNELS_CU_H_
28 #define MPBLOCKS_CUDA_CERT_KERNELS_CU_H_
29 
30 #include <cuda.h>
31 #include <cuda_runtime.h>
32 #include <mpblocks/cuda/linalg2.h>
33 
34 namespace mpblocks {
35 namespace cuda_cert {
36 namespace kernels {
37 
38 using namespace cuda::linalg2;
41 typedef unsigned int uint_t;
42 
43 
45  float* g_dataV,
46  uint_t i0V,
47  uint_t nV,
48  uint_t pitchV,
49  float* g_dataF,
50  uint_t i0F,
51  uint_t nF,
52  uint_t pitchF,
53  Matrix3f R0,
54  Matrix3f Rv,
55  Vector3f T0,
56  Vector3f dT,
57  float gamma,
58  float dilate,
59  int* g_out
60  ,float* g_dbg
61  );
62 
64  float* g_dataV,
65  uint_t i0V,
66  uint_t nV,
67  uint_t pitchV,
68  float* g_dataF,
69  uint_t i0F,
70  uint_t nF,
71  uint_t pitchF,
72  Matrix3f R0,
73  Matrix3f Rv,
74  Vector3f T0,
75  Vector3f dT,
76  float gamma,
77  float dilate,
78  int* g_out);
79 
80 
82  float* g_dataV,
83  uint_t i0V,
84  uint_t nV,
85  uint_t pitchV,
86  float* g_dataF,
87  uint_t i0F,
88  uint_t nF,
89  uint_t pitchF,
90  Matrix3f R0,
91  Matrix3f Rv,
92  Vector3f T0,
93  Vector3f dT,
94  float gamma,
95  int* g_out
96  ,float* g_dbg
97  );
98 
100  float* g_dataV,
101  uint_t i0V,
102  uint_t nV,
103  uint_t pitchV,
104  float* g_dataF,
105  uint_t i0F,
106  uint_t nF,
107  uint_t pitchF,
108  Matrix3f R0,
109  Matrix3f Rv,
110  Vector3f T0,
111  Vector3f dT,
112  float gamma,
113  int* g_out);
114 
115 
116 
117 } // kernels
118 } // cudaNN
119 } // mpblocks
120 
121 
122 
123 
124 #endif // KERNELS_H_
#define __global__
Definition: fakecuda.h:33
Matrix< float, 3, 3 > Matrix3f
Definition: kernels.cu.h:39
__global__ void check_cert(float *g_dataV, uint_t i0V, uint_t nV, uint_t pitchV, float *g_dataF, uint_t i0F, uint_t nF, uint_t pitchF, Matrix3f R0, Matrix3f Rv, Vector3f T0, Vector3f dT, float gamma, float dilate, int *g_out)
__global__ void check_cert_dbg(float *g_dataV, uint_t i0V, uint_t nV, uint_t pitchV, float *g_dataF, uint_t i0F, uint_t nF, uint_t pitchF, Matrix3f R0, Matrix3f Rv, Vector3f T0, Vector3f dT, float gamma, float dilate, int *g_out, float *g_dbg)
__global__ void check_cert2_dbg(float *g_dataV, uint_t i0V, uint_t nV, uint_t pitchV, float *g_dataF, uint_t i0F, uint_t nF, uint_t pitchF, Matrix3f R0, Matrix3f Rv, Vector3f T0, Vector3f dT, float gamma, int *g_out, float *g_dbg)
Matrix< float, 3, 1 > Vector3f
Definition: kernels.cu.h:40
__global__ void check_cert2(float *g_dataV, uint_t i0V, uint_t nV, uint_t pitchV, float *g_dataF, uint_t i0F, uint_t nF, uint_t pitchF, Matrix3f R0, Matrix3f Rv, Vector3f T0, Vector3f dT, float gamma, int *g_out)