X-Git-Url: http://git.euphorik.ch/?p=GPU.git;a=blobdiff_plain;f=WCudaMSE%2FStudent_Cuda_Image%2Fsrc%2Fcpp%2Fcore%2F03_Newton%2Fmoo%2Fhost%2FNewton.cu;fp=WCudaMSE%2FStudent_Cuda_Image%2Fsrc%2Fcpp%2Fcore%2F03_Newton%2Fmoo%2Fhost%2FNewton.cu;h=685fb5e42503015d08b681781c159765787781e0;hp=028f9243ebfaceedc41eba0413bedb112ba84b12;hb=2d95edd9a2d09421e5eae56755bdf3105e12edf7;hpb=19015d26dfb874d075516772ef531ee5e42fa213 diff --git a/WCudaMSE/Student_Cuda_Image/src/cpp/core/03_Newton/moo/host/Newton.cu b/WCudaMSE/Student_Cuda_Image/src/cpp/core/03_Newton/moo/host/Newton.cu index 028f924..685fb5e 100755 --- a/WCudaMSE/Student_Cuda_Image/src/cpp/core/03_Newton/moo/host/Newton.cu +++ b/WCudaMSE/Student_Cuda_Image/src/cpp/core/03_Newton/moo/host/Newton.cu @@ -1,12 +1,11 @@ #include #include +#include +using namespace std; #include "Newton.h" #include "Device.h" -using std::cout; -using std::endl; - extern __global__ void newton(uchar4* ptrDevPixels, int w, int h, DomaineMath domaineMath); Newton::Newton(int w, int h) @@ -14,9 +13,10 @@ Newton::Newton(int w, int h) w(w), h(h), dg(8, 8, 1), db(16, 16, 1), + ptrDomaineMathInit(new DomaineMath(-2, -2, 2, 2)), title("Fractal Newton") { - //print(dg, db); + // print(dg, db); Device::assertDim(dg, db); }