]> AND Private Git Repository - snake_gpu.git/commitdiff
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
clean test_init
authorGilles Perrot <gilles.perrot@univ-fcomte.fr>
Tue, 10 May 2011 12:08:17 +0000 (14:08 +0200)
committerGilles Perrot <gilles.perrot@univ-fcomte.fr>
Tue, 10 May 2011 12:08:17 +0000 (14:08 +0200)
exec/SNAKE2D
lib/lib_gpu.o
lib/lib_snake_2_gpu.o
lib/lib_test_gpu.o
lib/snake2D_gpu.o
src/lib_gpu.cu

index 320c04029e216825dfbde29fdf88662fd2a5b07e..9ea4dddeca0403b262ff0d374f514bcf64a1b579 100755 (executable)
Binary files a/exec/SNAKE2D and b/exec/SNAKE2D differ
index 429206e28dcce1df1c56a0eb3ca2e86582420d08..a7f49da31296ab0c238832605ab5d1451dc07d1c 100644 (file)
Binary files a/lib/lib_gpu.o and b/lib/lib_gpu.o differ
index 485c94c8e4b28d865eda97155921679d7f51164a..5b826e759295dd28b1ff90ce668448a8f5e6f286 100644 (file)
Binary files a/lib/lib_snake_2_gpu.o and b/lib/lib_snake_2_gpu.o differ
index faf9f8069fc072de7e1868bc9d54c38547756911..bbbcb34771bccb4e57aec799b92951be97069920 100644 (file)
Binary files a/lib/lib_test_gpu.o and b/lib/lib_test_gpu.o differ
index 02e631dfea5bf31344a05b456128b3f990af5e97..11a12816cd3fba384459212336150aa5628104d4 100644 (file)
Binary files a/lib/snake2D_gpu.o and b/lib/snake2D_gpu.o differ
index c2137531835f1c26bd23fc27aec15eb6a75f0fe5..54061601826d0db4d8ea4a21213f03889f3a8f45 100644 (file)
@@ -453,7 +453,10 @@ void cuda_init_img_cumul(unsigned short ** img_in, int H, int L, int nb_nodes,
   
   printf("pas = %d lignes -- critere mini =%f , positions i1=%d i2=%d\n", bs, h_miniblocs[ id_mini ].x, i1, i2);
   /*fin test snake rectangle initial optimal*/
   
   printf("pas = %d lignes -- critere mini =%f , positions i1=%d i2=%d\n", bs, h_miniblocs[ id_mini ].x, i1, i2);
   /*fin test snake rectangle initial optimal*/
-
+  cudaFree(d_contribs_part) ;
+  cudaFree(d_contribs_cols) ;
+  cudaFree(d_miniblocs) ;
+  
   tic(&chrono, NULL);
   //genere_snake_rectangle_4nodes_gpu<<< 1, 1>>>(*d_snake, 140, H, L) ;
   //genere_snake_bande_gpu<<<1,1>>>(*d_snake, pas*id_mini, (int)(pas*h_miniblocs[ id_mini ].y), H);
   tic(&chrono, NULL);
   //genere_snake_rectangle_4nodes_gpu<<< 1, 1>>>(*d_snake, 140, H, L) ;
   //genere_snake_bande_gpu<<<1,1>>>(*d_snake, pas*id_mini, (int)(pas*h_miniblocs[ id_mini ].y), H);