Преглед изворни кода

mic (perfmodel): Correction compilation error

Thibaud Lambert пре 12 година
родитељ
комит
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);
 					}
 				}
 			}