projects
/
GPU.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ajout du TP HeatTransfert.
[GPU.git]
/
WCudaMSE
/
Student_Cuda_Image
/
src
/
cpp
/
core
/
05_HeatTransfert
/
moo
/
host
/
HeatImage.cu
diff --git a/WCudaMSE/Student_Cuda_Image/src/cpp/core/05_HeatTransfert/moo/host/HeatImage.cu
b/WCudaMSE/Student_Cuda_Image/src/cpp/core/05_HeatTransfert/moo/host/HeatImage.cu
new file mode 100644
(file)
index 0000000..
e383fb6
--- /dev/null
+++ b/
WCudaMSE/Student_Cuda_Image/src/cpp/core/05_HeatTransfert/moo/host/HeatImage.cu
@@ -0,0
+1,12
@@
+#include "HeatImage.h"
+
+#include <cstring>
+
+HeatImage::HeatImage(int w, int h, float* image) :
+ w(w), h(h), image(image)
+ {
+ }
+
+HeatImage::~HeatImage()
+ {
+ }