]> AND Private Git Repository - snake_gpu.git/blobdiff - src/lib_kernels_contribs.cu
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
initialisation du snake par rectangle 'le plus probable'
[snake_gpu.git] / src / lib_kernels_contribs.cu
index 2440f0c5078586ea63fd484ef10ed0167fb96c7b..8acfc574d1a2de662e1a5095a8c469fd67030d4a 100644 (file)
@@ -954,7 +954,7 @@ __global__ void recalcul_contribs_segments_snake(snake_node_gpu * d_snake, int n
                scontribs[ CFI(tib)].c1 += scontribs[ CFI(tib +  8) ].c1;
                scontribs[ CFI(tib)].cx += scontribs[ CFI(tib +  8) ].cx;
                scontribs[ CFI(tib)].cx2 +=scontribs[ CFI(tib +  8) ].cx2;}
-       if (tib<4){     
+         if (tib<4){   
          scontribs[ CFI(tib)].c1 += scontribs[ CFI(tib +  4) ].c1;
          scontribs[ CFI(tib)].cx += scontribs[ CFI(tib +  4) ].cx;
          scontribs[ CFI(tib)].cx2 +=scontribs[ CFI(tib +  4) ].cx2;