Samuel Thibault 14 years ago
parent
commit
625531e6a2
1 changed files with 1 additions and 1 deletions
  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();
 	_starpu_create_sampling_directory_if_needed();
 
 
 	unsigned arch;
 	unsigned arch;
-	for (arch = 0; arch < NARCH_VARIATIONS; arch++)
+	for (arch = 0; arch < STARPU_NARCH_VARIATIONS; arch++)
 	{
 	{
 		char debugpath[256];
 		char debugpath[256];
 		starpu_perfmodel_debugfilepath(model, arch, debugpath, 256);
 		starpu_perfmodel_debugfilepath(model, arch, debugpath, 256);