projects
/
GPU.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fin du TP convolution. (Constant memory + Texture).
[GPU.git]
/
WCudaMSE
/
Student_Cuda_Image
/
src
/
cpp
/
core
/
06_Convolution
/
moo
/
host
/
Convolution.h
diff --git
a/WCudaMSE/Student_Cuda_Image/src/cpp/core/06_Convolution/moo/host/Convolution.h
b/WCudaMSE/Student_Cuda_Image/src/cpp/core/06_Convolution/moo/host/Convolution.h
index
e67adc2
..
d952df8
100644
(file)
--- a/
WCudaMSE/Student_Cuda_Image/src/cpp/core/06_Convolution/moo/host/Convolution.h
+++ b/
WCudaMSE/Student_Cuda_Image/src/cpp/core/06_Convolution/moo/host/Convolution.h
@@
-6,6
+6,8
@@
#include "MathTools.h"
#include "AleaTools.h"
#include "MathTools.h"
#include "AleaTools.h"
+#include "ConvolutionDevice.h"
+
class Convolution : public Animable_I
{
public:
class Convolution : public Animable_I
{
public:
@@
-17,7
+19,6
@@
class Convolution : public Animable_I
int getW() /*override*/;
int getH() /*override*/;
int getW() /*override*/;
int getH() /*override*/;
-
float getT() /*override*/;
std::string getTitle(void) /*override*/;
float getT() /*override*/;
std::string getTitle(void) /*override*/;
@@
-33,7
+34,9
@@
class Convolution : public Animable_I
const std::string title;
const std::string title;
- static const float kernel[9][9];
+ uchar4* ptrDevImageSource;
+
+ static const float kernel[KERNEL_SIZE][KERNEL_SIZE];
};
#endif
};
#endif