diff --git a/runtime/starpu/include/runtime_codelet_profile.h b/runtime/starpu/include/runtime_codelet_profile.h index 361aeeb75bdcb0577c68e7fc883c95a4dcf43d2b..eac734b1fc5294e0c728e336c7cad593a6406c59 100644 --- a/runtime/starpu/include/runtime_codelet_profile.h +++ b/runtime/starpu/include/runtime_codelet_profile.h @@ -73,7 +73,6 @@ #define CHAMELEON_CL_CB_HEADER(name) \ extern struct starpu_perfmodel*cl_##name##_save; \ - extern struct starpu_perfmodel cl_##name##_fake; \ void cl_##name##_callback(); \ void profiling_display_##name##_info(void) diff --git a/runtime/starpu/include/runtime_codelets.h b/runtime/starpu/include/runtime_codelets.h index e274d643a2e118fd4a3f984beec2ce22bae281e9..42f97ef082aca023ba48ed52fc5267c4d0d15173 100644 --- a/runtime/starpu/include/runtime_codelets.h +++ b/runtime/starpu/include/runtime_codelets.h @@ -64,11 +64,6 @@ #endif #define CODELETS_ALL(cl_name, cpu_func_name, gpu_func_name, _original_location_, gpu_flags) \ - struct starpu_perfmodel cl_##cl_name##_fake = { \ - .type = STARPU_HISTORY_BASED, \ - .symbol = "fake_"#cl_name \ - }; \ - \ struct starpu_perfmodel cl_##cl_name##_model = { \ .type = STARPU_HISTORY_BASED, \ .symbol = ""#cl_name \ @@ -92,11 +87,6 @@ void cl_##cl_name##_restore_where(void) \ { \ cl_##cl_name.where = (_original_location_); \ - } \ - \ - void cl_##cl_name##_restore_model(void) \ - { \ - cl_##cl_name.model = &cl_##cl_name##_model; \ } #if defined(CHAMELEON_SIMULATION) @@ -117,8 +107,6 @@ #define CODELETS_ALL_HEADER(name) \ CHAMELEON_CL_CB_HEADER(name); \ - void cl_##name##_load_fake_model(void); \ - void cl_##name##_restore_model(void); \ extern struct starpu_codelet cl_##name; \ void cl_##name##_restrict_where(uint32_t where); \ void cl_##name##_restore_where(void) diff --git a/runtime/starpu/include/runtime_profiling.h b/runtime/starpu/include/runtime_profiling.h index e366c620ce779e6af9abcd8f44151ac89543e791..dd71ca13fccd61d0c9d043825ab168e2dfedd8b6 100644 --- a/runtime/starpu/include/runtime_profiling.h +++ b/runtime/starpu/include/runtime_profiling.h @@ -43,14 +43,4 @@ void RUNTIME_profiling_cdisplay_all(void); void RUNTIME_profiling_ddisplay_all(void); void RUNTIME_profiling_sdisplay_all(void); -void CHAMELEON_zload_FakeModel(); -void CHAMELEON_cload_FakeModel(); -void CHAMELEON_dload_FakeModel(); -void CHAMELEON_sload_FakeModel(); - -void CHAMELEON_zrestore_Model(); -void CHAMELEON_crestore_Model(); -void CHAMELEON_drestore_Model(); -void CHAMELEON_srestore_Model(); - #endif /* _runtime_profiling_h_ */