瀏覽代碼

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

Nathalie Furmento 8 年之前
父節點
當前提交
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