ソースを参照

examples/sched_ctx/gpu_partition.c: emit warning only for starpu developers

Nathalie Furmento 9 年 前
コミット
61fcb8de74
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2 0
      examples/sched_ctx/gpu_partition.c

+ 2 - 0
examples/sched_ctx/gpu_partition.c

@@ -105,7 +105,9 @@ int main(int argc, char **argv)
 	int ncuda = 0;
 	int gpu_devid = -1;
 
+#ifdef STARPU_DEVEL
 #warning temporary fix: skip test as cuda computation fails
+#endif
  	return 77;
 
 #ifndef STARPU_HAVE_SETENV