]> AND Private Git Repository - snake_gpu.git/blob - src/lib_gpu.h~
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
test tex
[snake_gpu.git] / src / lib_gpu.h~
1 #ifndef _LIB_GPU_H_
2 #define _LIB_GPU_H_
3
4 inline unsigned int nextPow2( unsigned int x );
5
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,
14                                                  bool ** d_move
15                                                  );
16
17 void affiche_snake_gpu(int **image, snake_node_gpu *snake, int nnodes_, int valseg, int valnoeud,
18                                            uint32 *liste_pixel_segment);
19
20 #endif //_LIB_GPU_H_