瀏覽代碼

socl/src/init.c: also set STARPU_NCUDA to 0 to overwrite an existing variable

Nathalie Furmento 13 年之前
父節點
當前提交
ba6219b6bd
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      socl/src/init.c

+ 1 - 0
socl/src/init.c

@@ -26,6 +26,7 @@ __attribute__((constructor)) static void socl_init() {
   struct starpu_conf conf;
   struct starpu_conf conf;
   starpu_conf_init(&conf);
   starpu_conf_init(&conf);
   conf.ncuda = 0;
   conf.ncuda = 0;
+  putenv("STARPU_NCUDA=0");
 
 
   mem_object_init();
   mem_object_init();