Samuel Thibault hace 10 años
padre
commit
508f2cc47d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      examples/mult/xgemm.c

+ 2 - 0
examples/mult/xgemm.c

@@ -323,6 +323,8 @@ int main(int argc, char **argv)
 			task->handles[1] = starpu_data_get_sub_data(B_handle, 1, x);
 			task->handles[2] = starpu_data_get_sub_data(C_handle, 2, x, y);
 
+			task->flops = 2 * (xdim/nslicesx) * (ydim/nslicesy) * zdim;
+
 			ret = starpu_task_submit(task);
 			if (ret == -ENODEV)
 			{