Samuel Thibault преди 14 години
родител
ревизия
625531e6a2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/core/perfmodel/perfmodel_history.c

+ 1 - 1
src/core/perfmodel/perfmodel_history.c

@@ -226,7 +226,7 @@ void _starpu_register_model(struct starpu_perfmodel_t *model)
 	_starpu_create_sampling_directory_if_needed();
 
 	unsigned arch;
-	for (arch = 0; arch < NARCH_VARIATIONS; arch++)
+	for (arch = 0; arch < STARPU_NARCH_VARIATIONS; arch++)
 	{
 		char debugpath[256];
 		starpu_perfmodel_debugfilepath(model, arch, debugpath, 256);