¡@

Home 

c++ Programming Glossary: cut_poly

Cuda version not working while serial working

http://stackoverflow.com/questions/13630817/cuda-version-not-working-while-serial-working

Point2D pts 128 int nbpts float dummy __global__ void cut_poly float a Polygon polygons int N int idx blockIdx.x blockDim.x.. block_size 4 int n_blocks N block_size N block_size 0 0 1 cut_poly n_blocks block_size a_d p_d N cudaMemcpy a_h a_d sizeof float.. private Point2D pts 128 int nbpts float dummy void cut_poly int idx float a Polygon polygons int N if idx N 2 return Polygon..