瀏覽代碼

Fix crash on termination

Samuel Thibault 10 年之前
父節點
當前提交
2f22c422c9
共有 1 個文件被更改,包括 2 次插入1 次删除
  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 =