Browse Source

socl/src/init.c: force the number of cpus to 0 and the number of opencl to 1

Nathalie Furmento 13 years ago
parent
commit
8d3bcb7918
1 changed files with 2 additions and 0 deletions
  1. 2 0
      socl/src/init.c

+ 2 - 0
socl/src/init.c

@@ -27,6 +27,8 @@ __attribute__((constructor)) static void socl_init() {
   starpu_conf_init(&conf);
   conf.ncuda = 0;
   putenv("STARPU_NCUDA=0");
+  putenv("STARPU_NOPENCL=1");
+  putenv("STARPU_NCPUS=0");
 
   mem_object_init();