Quellcode durchsuchen

Fix crash on termination

Samuel Thibault vor 10 Jahren
Ursprung
Commit
2f22c422c9
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      examples/stencil/stencil-tasks.c

+ 2 - 1
examples/stencil/stencil-tasks.c

@@ -224,7 +224,8 @@ static double null_cost_function(struct starpu_task *task, unsigned nimpl)
 static struct starpu_perfmodel null_model =
 {
 	.type = STARPU_COMMON,
-	.cost_function = null_cost_function
+	.cost_function = null_cost_function,
+	.symbol = "null"
 };
 
 static struct starpu_codelet null =