浏览代码

src/core/workers.c: typo, fix variable name

Nathalie Furmento 14 年之前
父节点
当前提交
27850a2d6f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/workers.c

+ 1 - 1
src/core/workers.c

@@ -448,7 +448,7 @@ int starpu_init(struct starpu_conf *user_conf)
 
 	if (user_conf)
 	{
-	     int asynchronous_copy_disabled = starpu_get_env_number("DISABLE_STARPU_ASYNCHRONOUS_COPY");
+	     int asynchronous_copy_disabled = starpu_get_env_number("STARPU_DISABLE_ASYNCHRONOUS_COPY");
 	     if (asynchronous_copy_disabled == 1)
 		  config.disable_asynchronous_copy = 1;
 	     else