瀏覽代碼

starpufft: revert r7146 as it breaks compatibility

Nathalie Furmento 12 年之前
父節點
當前提交
ca171589c3
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      starpufft/examples/testx.c

+ 1 - 2
starpufft/examples/testx.c

@@ -222,8 +222,7 @@ int main(int argc, char *argv[])
 	printf("CUDA took %2.2f ms (%2.2f MB/s)\n\n", timing/1000, bytes/timing);
 #endif
 
-	ret = STARPUFFT(execute)(plan, in, out);
-	if (ret == -ENODEV) return 77;
+	STARPUFFT(execute)(plan, in, out);
 	STARPUFFT(showstats)(stdout);
 
 #ifdef STARPU_HAVE_FFTW