ソースを参照

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

Olivier Aumage 8 年 前
コミット
afecfba3c3
共有1 個のファイルを変更した5 個の追加0 個の削除を含む
  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;