소스 검색

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;
   starpu_conf_init(&conf);
   conf.ncuda = 0;
+  putenv("STARPU_NCUDA=0");
 
   mem_object_init();