#ifndef _LIB_GPU_H_ #define _LIB_GPU_H_ inline unsigned int nextPow2( unsigned int x ); void cuda_init_img_cumul(unsigned short ** img_in, int H, int L, int nb_nodes, unsigned short ** d_img, t_cumul_x ** d_img_x, t_cumul_x2 ** d_img_x2, int ** d_freemanDiDj, int ** d_codeNoeud, snake_node_gpu ** d_snake, uint32 ** d_nb_pix_max, uint4 ** d_positions, uint64 ** d_contribs_segments, uint4 ** d_freemans_centres, int ** d_codes_segments, int64 ** d_stats_snake, int64 ** d_stats, int64 ** d_stats_ref, double ** d_vrais, double ** d_vrais_snake, uint2 ** d_liste_pixels, uint64 ** d_contribs_segments_blocs, bool ** d_move ); void affiche_snake_gpu(int **image, snake_node_gpu *snake, int nnodes_, int valseg, int valnoeud, uint32 *liste_pixel_segment); #endif //_LIB_GPU_H_