Explorar o código

this example doesn't support Master-Slave transfers

Corentin Salingue %!s(int64=8) %!d(string=hai) anos
pai
achega
91a65f66ef
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      examples/basic_examples/multiformat.c

+ 7 - 1
examples/basic_examples/multiformat.c

@@ -274,7 +274,13 @@ main(void)
 #ifdef STARPU_USE_CPU
 	int ret;
 
-	ret = starpu_init(NULL);
+	struct starpu_conf conf;
+	starpu_conf_init(&conf);
+
+	/* this example doesn't support MPI Master-Slave */
+	conf.nmpi_ms = 0;
+
+	ret = starpu_init(&conf);
 	STARPU_CHECK_RETURN_VALUE(ret, "starpu_init");
 
 	ncpu = starpu_cpu_worker_get_count();