X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/snake_gpu.git/blobdiff_plain/fd872eca52592617f52015c1d4d086d0e24b12e1..5f3b433716d7b93cda65ae4ce49969105fdafdbd:/src/lib_gpu.cu 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);