瀏覽代碼

Run yet more tests on Phi

Samuel Thibault 9 年之前
父節點
當前提交
25a14847a3

+ 1 - 0
tests/datawizard/lazy_unregister.c

@@ -31,6 +31,7 @@ static struct starpu_codelet dummy_cl =
 {
 	.modes = { STARPU_RW },
 	.cpu_funcs = { dummy_func },
+	.cpu_funcs_name = { "dummy_func" },
 	.nbuffers = 1
 };
 

+ 1 - 0
tests/datawizard/no_unregister.c

@@ -33,6 +33,7 @@ static struct starpu_codelet dummy_cl =
 {
 	.modes = { STARPU_RW },
 	.cpu_funcs = { dummy_func },
+	.cpu_funcs_name = { "dummy_func" },
 	.nbuffers = 1
 };
 

+ 3 - 1
tests/datawizard/noreclaim.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2014  Université de Bordeaux
+ * Copyright (C) 2014-2015  Université de Bordeaux
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -38,6 +38,7 @@ void dummy_func(void *descr[], STARPU_ATTRIBUTE_UNUSED void *_args)
 static struct starpu_codelet dummy_cl =
 {
 	.cpu_funcs = {dummy_func},
+	.cpu_funcs_name = {"dummy_func"},
 	.nbuffers = 1,
 	.modes = {STARPU_W}
 };
@@ -55,6 +56,7 @@ static void emit_task(starpu_data_handle_t handle)
 static struct starpu_codelet empty_cl =
 {
 	.cpu_funcs = {dummy_func},
+	.cpu_funcs_name = {"dummy_func"},
 	.nbuffers = 0,
 };
 

+ 4 - 2
tests/datawizard/task_with_multiple_time_the_same_handle.c

@@ -34,14 +34,16 @@ static void sum3_cpu(void * descr[], void *cl_arg)
 
 static struct starpu_codelet sum_cl =
 {
-	.cpu_funcs = {sum_cpu, NULL},
+	.cpu_funcs = {sum_cpu},
+	.cpu_funcs_name = {"sum_cpu"},
 	.nbuffers = 2,
 	.modes={STARPU_RW,STARPU_R}
 };
 
 static struct starpu_codelet sum3_cl =
 {
-	.cpu_funcs = {sum3_cpu, NULL},
+	.cpu_funcs = {sum3_cpu},
+	.cpu_funcs_name = {"sum3_cpu"},
 	.nbuffers = 3,
 	.modes={STARPU_R,STARPU_R,STARPU_RW}
 };

+ 2 - 1
tests/datawizard/variable_parameters.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
@@ -93,6 +93,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 = STARPU_VARIABLE_NBUFFERS,
 };
 

+ 2 - 1
tests/datawizard/wt_broadcast.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2011-2012, 2014  Université de Bordeaux
+ * Copyright (C) 2011-2012, 2014-2015  Université de Bordeaux
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -74,6 +74,7 @@ static struct starpu_codelet increment_cl =
 	.opencl_flags = {STARPU_OPENCL_ASYNC},
 #endif
 	.cpu_funcs = {increment_cpu_kernel},
+	.cpu_funcs_name = {"increment_cpu_kernel"},
 	.nbuffers = 1,
 	.modes = {STARPU_RW}
 };

+ 2 - 1
tests/datawizard/wt_host.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2011-2012, 2014  Université de Bordeaux
+ * Copyright (C) 2011-2012, 2014-2015  Université de Bordeaux
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -80,6 +80,7 @@ static struct starpu_codelet increment_cl =
 	.opencl_flags = {STARPU_OPENCL_ASYNC},
 #endif
 	.cpu_funcs = {increment_cpu_kernel},
+	.cpu_funcs_name = {"increment_cpu_kernel"},
 	.nbuffers = 1,
 	.modes = {STARPU_RW}
 };

+ 1 - 0
tests/perfmodels/memory.c

@@ -32,6 +32,7 @@ static struct starpu_perfmodel my_model =
 static struct starpu_codelet my_codelet =
 {
 	.cpu_funcs = {func},
+	.cpu_funcs_name = {"func"},
 	.model = &my_model
 };
 

+ 2 - 1
tests/perfmodels/user_base.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2014  Université Bordeaux
+ * Copyright (C) 2014-2015  Université Bordeaux
  * Copyright (C) 2012, 2013, 2014  CNRS
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -68,6 +68,7 @@ static struct starpu_codelet mycodelet =
 	.cuda_funcs = {func},
 	.opencl_funcs = {func},
 	.cpu_funcs = {func},
+	.cpu_funcs_name = {"func"},
 	.nbuffers = 1,
 	.modes = {STARPU_W}
 };

+ 1 - 0
tests/perfmodels/valid_model.c

@@ -48,6 +48,7 @@ static struct starpu_codelet mycodelet =
 	.cuda_funcs = {func},
 	.opencl_funcs = {func},
 	.cpu_funcs = {func},
+	.cpu_funcs_name = {"func"},
 	.nbuffers = 1,
 	.modes = {STARPU_W}
 };

+ 3 - 1
tests/sched_policies/prio.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2013 Université Bordeaux
+ * Copyright (C) 2013, 2015 Université Bordeaux
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -65,6 +65,7 @@ run(struct starpu_sched_policy *policy)
 	struct starpu_codelet clA =
 	{
 		.cpu_funcs = {A},
+		.cpu_funcs_name = {"A"},
 		.opencl_funcs = {A},
 		.cuda_funcs = {A},
 		.nbuffers = 0
@@ -73,6 +74,7 @@ run(struct starpu_sched_policy *policy)
 	struct starpu_codelet clB =
 	{
 		.cpu_funcs = {B},
+		.cpu_funcs_name = {"B"},
 		.opencl_funcs = {B},
 		.cuda_funcs = {B},
 		.nbuffers = 0

+ 1 - 0
tests/sched_policies/simple_deps.c

@@ -46,6 +46,7 @@ run(struct starpu_sched_policy *policy)
 	struct starpu_codelet cl =
 	{
 		.cpu_funcs = {dummy},
+		.cpu_funcs_name = {"dummy"},
 		.opencl_funcs = {dummy},
 		.cuda_funcs = {dummy},
 		.nbuffers = 0