4 inline unsigned int nextPow2( unsigned int x ) {
15 void cuda_init_img_cumul(unsigned short ** img_in, int H, int L, int nb_nodes,
16 unsigned short ** d_img, t_cumul_x ** d_img_x, t_cumul_x2 ** d_img_x2,
17 int ** d_freemanDiDj, int ** d_codeNoeud,
18 snake_node_gpu ** d_snake, uint32 ** d_nb_pix_max,
19 uint4 ** d_positions, uint64 ** d_contribs_segments, uint4 ** d_freemans_centres,
20 int ** d_codes_segments, int64 ** d_stats_snake,
21 int64 ** d_stats, int64 ** d_stats_ref, double ** d_vrais, double ** d_vrais_snake,
22 uint2 ** d_liste_pixels, uint64 ** d_contribs_segments_blocs,
26 void affiche_snake_gpu(int **image, snake_node_gpu *snake, int nnodes_, int valseg, int valnoeud,
27 uint32 *liste_pixel_segment);