Просмотр исходного кода

include/starpu_perfmodel.h: make ABI independant

Nathalie Furmento лет назад: 10
Родитель
Сommit
f08dbb3923
1 измененных файлов с 1 добавлено и 6 удалено
  1. 1 6
      include/starpu_perfmodel.h

+ 1 - 6
include/starpu_perfmodel.h

@@ -58,11 +58,7 @@ struct starpu_perfmodel_history_entry
 	unsigned nsample;
 	unsigned nerror;
 	uint32_t footprint;
-#ifdef STARPU_HAVE_WINDOWS
-	unsigned size;
-#else
 	size_t size;
-#endif
 	double flops;
 };
 
@@ -109,9 +105,8 @@ struct starpu_perfmodel_per_arch
 	struct starpu_perfmodel_history_table *history;
 	struct starpu_perfmodel_history_list *list;
 	struct starpu_perfmodel_regression_model regression;
-#ifdef STARPU_MODEL_DEBUG
+
 	char debug_path[256];
-#endif
 };
 
 enum starpu_perfmodel_type