Переглянути джерело

mic (perfmodel): Correction compilation error

Thibaud Lambert 11 роки тому
батько
коміт
fa0d9edc47
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/core/perfmodel/perfmodel_history.c

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

@@ -677,7 +677,7 @@ int _starpu_register_model(struct starpu_perfmodel *model)
 					arch.ncore = ncore;
 					for (nimpl = 0; nimpl < STARPU_MAXIMPLEMENTATIONS; nimpl++)
 					{
-						starpu_perfmodel_debugfilepath(model, arch, model->per_arch[arch][devid][ncore][nimpl].debug_path, 256, nimpl);
+						starpu_perfmodel_debugfilepath(model, &arch, model->per_arch[archtype][devid][ncore][nimpl].debug_path, 256, nimpl);
 					}
 				}
 			}