浏览代码

Fix basic OpenMP initialization

Samuel Thibault 7 年之前
父节点
当前提交
eb874fce38
共有 2 个文件被更改,包括 1 次插入3 次删除
  1. 0 2
      src/core/workers.c
  2. 1 1
      tests/Makefile.am

+ 0 - 2
src/core/workers.c

@@ -926,10 +926,8 @@ static void _starpu_launch_drivers(struct _starpu_machine_config *pconfig)
 		struct _starpu_worker *workerarg = &pconfig->workers[worker];
 
 		_STARPU_DEBUG("waiting for worker %u initialization\n", worker);
-#ifndef STARPU_SIMGRID
 		if (!workerarg->run_by_starpu)
 			break;
-#endif
 #if defined(STARPU_USE_CUDA) || defined(STARPU_SIMGRID)
 		if (workerarg->arch == STARPU_CUDA_WORKER)
 		{

+ 1 - 1
tests/Makefile.am

@@ -169,6 +169,7 @@ myPROGRAMS +=					\
 	overlap/overlap				\
 	sched_ctx/sched_ctx_list		\
 	sched_ctx/sched_ctx_policy_data		\
+	openmp/init_exit_01			\
 	perfmodels/value_nan
 
 if STARPU_SIMGRID
@@ -302,7 +303,6 @@ myPROGRAMS +=				\
 	microbenchs/prefetch_data_on_node 	\
 	microbenchs/redundant_buffer		\
 	microbenchs/matrix_as_vector		\
-	openmp/init_exit_01			\
 	openmp/init_exit_02			\
 	openmp/environment			\
 	openmp/api_01				\