Browse Source

really do not use CUDA devices since the testcase does not currently support cuFFT properly

Olivier Aumage 8 years ago
parent
commit
afecfba3c3
1 changed files with 5 additions and 0 deletions
  1. 5 0
      starpufft/tests/testx.c

+ 5 - 0
starpufft/tests/testx.c

@@ -125,6 +125,11 @@ int main(int argc, char *argv[])
 	double timing;
 	size_t bytes;
 #endif
+	struct starpu_conf conf;
+	starpu_conf_init(&conf);
+	/* FIXME: the testcase needs to be updated to properly support cuFFT */
+	conf.ncuda = 0;
+	ret = starpu_init(&conf);
 
 	ret = starpu_init(NULL);
 	if (ret == -ENODEV) return 77;