Samuel Thibault лет назад: 14
Родитель
Сommit
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);