Browse Source

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

Nathalie Furmento 13 years ago
parent
commit
9b4cfbf9f1
1 changed files with 4 additions and 2 deletions
  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 = 
 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 = 
 static struct starpu_perfmodel model_gpu_task = 
 {
 {
-	.type = STARPU_PER_ARCH
+	.type = STARPU_PER_ARCH,
+	.symbol = "model_gpu_task"
 };
 };
 
 
 static void
 static void