Nathalie Furmento лет назад: 14
Родитель
Сommit
963298c29c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      doc/starpu.texi

+ 1 - 1
doc/starpu.texi

@@ -1273,7 +1273,7 @@ Here the implementation of the codelet:
 void func_cpu(void *descr[], void *_args)
 @{
         int *x0 = (int *)STARPU_VARIABLE_GET_PTR(descr[0]);
-        float *x1 = (int *)STARPU_VARIABLE_GET_PTR(descr[1]);
+        float *x1 = (float *)STARPU_VARIABLE_GET_PTR(descr[1]);
         int ifactor;
         float ffactor;