ソースを参照

enable more tests on Phi

Samuel Thibault 9 年 前
コミット
684b7b54eb
共有4 個のファイルを変更した10 個の追加2 個の削除を含む
  1. 3 1
      tests/datawizard/increment_init.c
  2. 2 1
      tests/main/deploop.c
  3. 4 0
      tests/main/deprecated_func.c
  4. 1 0
      tests/main/insert_task_array.c

+ 3 - 1
tests/datawizard/increment_init.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2010, 2012-2014  Université de Bordeaux
+ * Copyright (C) 2010, 2012-2015  Université de Bordeaux
  * Copyright (C) 2010, 2011, 2012, 2014  CNRS
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -68,6 +68,7 @@ static struct starpu_codelet neutral_cl =
 	.opencl_funcs = {neutral_opencl_kernel},
 #endif
 	.cpu_funcs = {neutral_cpu_kernel},
+	.cpu_funcs_name = {"neutral_cpu_kernel"},
 	.modes = {STARPU_W},
 	.nbuffers = 1
 };
@@ -126,6 +127,7 @@ static struct starpu_codelet increment_cl =
 	.opencl_funcs = {increment_opencl_kernel},
 #endif
 	.cpu_funcs = {increment_cpu_kernel},
+	.cpu_funcs_name = {"increment_cpu_kernel"},
 	.nbuffers = 1,
 	.modes = {STARPU_RW}
 };

+ 2 - 1
tests/main/deploop.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2010-2011, 2013  Université de Bordeaux
+ * Copyright (C) 2010-2011, 2013, 2015  Université de Bordeaux
  * Copyright (C) 2010, 2011, 2012, 2013  CNRS
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -35,6 +35,7 @@ void dummy_func(void *descr[] STARPU_ATTRIBUTE_UNUSED, void *arg STARPU_ATTRIBUT
 static struct starpu_codelet dummy_codelet = 
 {
 	.cpu_funcs = {dummy_func},
+	.cpu_funcs_name = {"dummy_func"},
 	.cuda_funcs = {dummy_func},
 	.opencl_funcs = {dummy_func},
 	.model = NULL,

+ 4 - 0
tests/main/deprecated_func.c

@@ -38,6 +38,7 @@ struct starpu_codelet cl_cpu_funcs =
 {
 	.where = STARPU_CPU,
 	.cpu_funcs = {cpu_codelet},
+	.cpu_funcs_name = {"cpu_codelet"},
 	.nbuffers = 2,
 	.name = "cpu_funcs",
 };
@@ -46,6 +47,7 @@ struct starpu_codelet cl_cpu_func =
 {
 	.where = STARPU_CPU,
 	.cpu_func = cpu_codelet,
+	.cpu_funcs_name = {"cpu_codelet"},
 	.nbuffers = 2,
 	.name = "cpu_func",
 };
@@ -55,6 +57,7 @@ struct starpu_codelet cl_cpu_multiple =
 	.where = STARPU_CPU,
 	.cpu_func = STARPU_MULTIPLE_CPU_IMPLEMENTATIONS,
 	.cpu_funcs = {cpu_codelet},
+	.cpu_funcs_name = {"cpu_codelet"},
 	.nbuffers = 2,
 	.name = "cpu_multiple",
 };
@@ -64,6 +67,7 @@ struct starpu_codelet cl_cpu_func_funcs =
 	.where = STARPU_CPU,
 	.cpu_func = cpu2_codelet,
 	.cpu_funcs = {cpu_codelet},
+	.cpu_funcs_name = {"cpu_codelet"},
 	.nbuffers = 2,
 	.name = "cpu_func_funcs",
 };

+ 1 - 0
tests/main/insert_task_array.c

@@ -34,6 +34,7 @@ struct starpu_codelet mycodelet =
 {
 	.modes = { STARPU_RW, STARPU_RW },
 	.cpu_funcs = {func_cpu},
+	.cpu_funcs_name = {"func_cpu"},
         .nbuffers = 2
 };