Browse Source

Do not disable asynchronous copy by default

Samuel Thibault 13 years ago
parent
commit
d64f32d285
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/core/workers.c

+ 2 - 0
src/core/workers.c

@@ -374,6 +374,8 @@ int starpu_conf_init(struct starpu_conf *conf)
 	     conf->single_combined_worker = 0;
 
 	conf->disable_asynchronous_copy = starpu_get_env_number("STARPU_DISABLE_ASYNCHRONOUS_COPY");
+	if (conf->disable_asynchronous_copy == -1)
+		conf->disable_asynchronous_copy = 0;
 
 	return 0;
 }