Ver código fonte

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

Nathalie Furmento 13 anos atrás
pai
commit
ba6219b6bd
1 arquivos alterados com 1 adições e 0 exclusões
  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();