Quellcode durchsuchen

starpufft/examples/testx.c: disable cuda for now, as the test keeps failing when running on cuda devices

Nathalie Furmento vor 13 Jahren
Ursprung
Commit
f5fcbdb2ac
1 geänderte Dateien mit 7 neuen und 1 gelöschten Zeilen
  1. 7 1
      starpufft/examples/testx.c

+ 7 - 1
starpufft/examples/testx.c

@@ -123,8 +123,14 @@ int main(int argc, char *argv[])
 	cudaError_t cures;
 #endif
 	double timing;
+	struct starpu_conf conf;
 
-	ret = starpu_init(NULL);
+#ifdef STARPU_DEVEL
+#  warning we disable cuda for now, as the test keeps failing when running on cuda devices
+#endif
+	starpu_conf_init(&conf);
+	conf.ncuda = 0;
+	ret = starpu_init(&conf);
 	STARPU_CHECK_RETURN_VALUE(ret, "starpu_init");
 
 	if (argc == 1)