From: Gilles Perrot Date: Tue, 10 May 2011 12:08:17 +0000 (+0200) Subject: clean X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/snake_gpu.git/commitdiff_plain/5f3b433716d7b93cda65ae4ce49969105fdafdbd?ds=inline;hp=fd872eca52592617f52015c1d4d086d0e24b12e1 clean --- diff --git a/exec/SNAKE2D b/exec/SNAKE2D index 320c040..9ea4ddd 100755 Binary files a/exec/SNAKE2D and b/exec/SNAKE2D differ diff --git a/lib/lib_gpu.o b/lib/lib_gpu.o index 429206e..a7f49da 100644 Binary files a/lib/lib_gpu.o and b/lib/lib_gpu.o differ diff --git a/lib/lib_snake_2_gpu.o b/lib/lib_snake_2_gpu.o index 485c94c..5b826e7 100644 Binary files a/lib/lib_snake_2_gpu.o and b/lib/lib_snake_2_gpu.o differ diff --git a/lib/lib_test_gpu.o b/lib/lib_test_gpu.o index faf9f80..bbbcb34 100644 Binary files a/lib/lib_test_gpu.o and b/lib/lib_test_gpu.o differ diff --git a/lib/snake2D_gpu.o b/lib/snake2D_gpu.o index 02e631d..11a1281 100644 Binary files a/lib/snake2D_gpu.o and b/lib/snake2D_gpu.o differ diff --git a/src/lib_gpu.cu b/src/lib_gpu.cu index c213753..5406160 100644 --- a/src/lib_gpu.cu +++ b/src/lib_gpu.cu @@ -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*/ - + 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);