ソースを参照

src/core/perfmodel/perfmodel_bus.c: only display warning when STARPU_DEVEL is enabled

Nathalie Furmento 14 年 前
コミット
da60cebb7c
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2 0
      src/core/perfmodel/perfmodel_bus.c

+ 2 - 0
src/core/perfmodel/perfmodel_bus.c

@@ -425,8 +425,10 @@ static void benchmark_all_gpu_devices(void)
 		STARPU_ABORT();
 	}
 #else
+#ifdef STARPU_DEVEL
 #warning Missing binding support, StarPU will not be able to properly benchmark NUMA topology
 #endif
+#endif
 
 	struct starpu_machine_config_s *config = _starpu_get_machine_config();
 	ncpus = _starpu_topology_get_nhwcpu(config);