Explorar o código

tests/sched_policies/simple_cpu_gpu_sched.c: define mandatory symbol fields for struct starpu_perfmodel

Nathalie Furmento %!s(int64=13) %!d(string=hai) anos
pai
achega
9b4cfbf9f1
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      tests/sched_policies/simple_cpu_gpu_sched.c

+ 4 - 2
tests/sched_policies/simple_cpu_gpu_sched.c

@@ -88,11 +88,13 @@ gpu_task_gpu(struct starpu_task *task,
 
 static struct starpu_perfmodel model_cpu_task = 
 {
-	.type = STARPU_PER_ARCH
+	.type = STARPU_PER_ARCH,
+	.symbol = "model_cpu_task"
 };
 static struct starpu_perfmodel model_gpu_task = 
 {
-	.type = STARPU_PER_ARCH
+	.type = STARPU_PER_ARCH,
+	.symbol = "model_gpu_task"
 };
 
 static void