소스 검색

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);
 					}
 				}
 			}