Parcourir la source

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

Nathalie Furmento il y a 14 ans
Parent
commit
da60cebb7c
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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);