Browse Source

starpufft: revert r7146 as it breaks compatibility

Nathalie Furmento 12 years ago
parent
commit
ca171589c3
1 changed files with 1 additions and 2 deletions
  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