Преглед на файлове

make the openmp example use pheft by default

Samuel Thibault преди 13 години
родител
ревизия
b5a5804bad
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      examples/openmp/vector_scal.c

+ 2 - 1
examples/openmp/vector_scal.c

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2010, 2011, 2012  Centre National de la Recherche Scientifique
- * Copyright (C) 2010, 2011  Université de Bordeaux 1
+ * Copyright (C) 2010-2012  Université de Bordeaux 1
  *
  * 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
@@ -78,6 +78,7 @@ int main(int argc, char **argv)
 	/* Most OpenMP implementations do not support concurrent parallel
 	 * sections, so only create one big worker */
 	conf.single_combined_worker = 1;
+	conf.sched_policy_name = "pheft";
 
 	ret = starpu_init(&conf);
 	STARPU_CHECK_RETURN_VALUE(ret, "starpu_init");