4 inline unsigned int nextPow2( unsigned int x );
6 void cuda_init_img_cumul(unsigned short ** img_in, int H, int L, int nb_nodes,
7 unsigned short ** d_img, t_cumul_x ** d_img_x, t_cumul_x2 ** d_img_x2,
8 int ** d_freemanDiDj, int ** d_codeNoeud,
9 snake_node_gpu ** d_snake, uint32 ** d_nb_pix_max,
10 uint4 ** d_positions, uint64 ** d_contribs_segments, uint4 ** d_freemans_centres,
11 int ** d_codes_segments, int64 ** d_stats_snake,
12 int64 ** d_stats, int64 ** d_stats_ref, double ** d_vrais, double ** d_vrais_snake,
13 uint2 ** d_liste_pixels, uint64 ** d_contribs_segments_blocs,
17 void affiche_snake_gpu(int **image, snake_node_gpu *snake, int nnodes_, int valseg, int valnoeud,
18 uint32 *liste_pixel_segment);