Procházet zdrojové kódy

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

Nathalie Furmento před 14 roky
rodič
revize
da60cebb7c
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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);