Cédric Augonnet 16 anni fa
parent
commit
375fc13473
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      doc/starpu.texi

+ 1 - 1
doc/starpu.texi

@@ -537,7 +537,7 @@ void scal_func(starpu_data_interface_t *buffers, void *arg)
     float *val = (float *)buffers[0].vector.ptr;
 
     for (i = 0; i < n; i++)
-        val[0] *= *factor;
+        val[i] *= *factor;
 @}
 
 starpu_codelet cl = @{